ismaster中的setName与提供的连接setName不匹配

时间:2019-09-18 04:53:45

标签: node.js mongodb mongoose

MongoError:ismaster中的setName与提供的连接setName不匹配[rs-ds223058]!= [rs-ds22305]     在ReplSetState.update(/home/midhun/districtr-backend/node_modules/mongodb/lib/core/topologies/replset_state.js:425:14)     在服务器上。 (/home/midhun/districtr-backend/node_modules/mongodb/lib/core/topologies/replset.js:748:43)     在Object.onceWrapper(events.js:277:13)     在Server.emit(events.js:189:13)     在Server.EventEmitter.emit(domain.js:441:20)     在游泳池。 (/home/midhun/districtr-backend/node_modules/mongodb/lib/core/topologies/server.js:377:12)     在Pool.emit(events.js:189:13)     在Pool.EventEmitter.emit(domain.js:441:20)     在连接时(/home/midhun/districtr-backend/node_modules/mongodb/lib/core/connection/pool.js:624:10)     在回调时(/home/midhun/districtr-backend/node_modules/mongodb/lib/core/connection/connect.js:109:5)     在provider.auth.err(/home/midhun/districtr-backend/node_modules/mongodb/lib/core/connection/connect.js:353:5)     在_authenticateSingleConnection(/home/midhun/districtr-backend/node_modules/mongodb/lib/core/auth/auth_provider.js:61:11)     在Connection.messageHandler(/home/midhun/districtr-backend/node_modules/mongodb/lib/core/connection/connect.js:334:5)     在Connection.emit(events.js:189:13)     在Connection.EventEmitter.emit(domain.js:441:20)     在processMessage(/home/midhun/districtr-backend/node_modules/mongodb/lib/core/connection/connection.js:364:10)

0 个答案:

没有答案