You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During service startup, "TypeError: Cannot read properties of undefined (reading 'electionId')" is observed while connecting to DB.
2024-12-12T19:19:48.9569976Z TypeError: Cannot read properties of undefined (reading 'electionId')
2024-12-12T19:19:48.9570006Z at ReplSetState.update (/opt/service/node_modules/mongodb-core/lib/topologies/replset_state.js:464:71)
2024-12-12T19:19:48.9570035Z at /opt/service/node_modules/mongodb-core/lib/topologies/replset.js:318:47
2024-12-12T19:19:48.9570069Z at applyAuth (/opt/service/node_modules/mongodb-core/lib/topologies/replset.js:745:43)
2024-12-12T19:19:48.9570098Z at /opt/service/node_modules/mongodb-core/lib/topologies/replset.js:752:7
2024-12-12T19:19:48.9570147Z at /opt/service/node_modules/mongodb-core/lib/connection/pool.js:869:7
2024-12-12T19:19:48.9570176Z at /opt/service/node_modules/mongodb-core/lib/connection/pool.js:847:11
2024-12-12T19:19:48.9570205Z at finish (/opt/service/node_modules/mongodb-core/lib/auth/scram.js:229:16)
2024-12-12T19:19:48.9570235Z at handleEnd (/opt/service/node_modules/mongodb-core/lib/auth/scram.js:243:7)
2024-12-12T19:19:48.9570262Z at /opt/service/node_modules/mongodb-core/lib/auth/scram.js:348:19
2024-12-12T19:19:48.9570291Z at /opt/service/node_modules/mongodb-core/lib/connection/pool.js:532:18
This StackExchange suggests "removing the &replicaSet=globaldb from the connection string if you are not using a replica set and only have a single Cosmos DB instance." A similar issue could be found at MongoError: Pool Destroyed, which seemed to be also resolved by the connection string change.
MongoError: pool destroyed at Pool.write was also logged in dev deployment at between 2024-12-12T19:49:10.939Z and 2024-12-12T19:49:14.066Z
During service startup, "TypeError: Cannot read properties of undefined (reading 'electionId')" is observed while connecting to DB.
Details see attached exception details
The text was updated successfully, but these errors were encountered: