Hi ,

I have application using python which is using Mongodb as database.
we are performing fail over test for application .we have 2 nodes for mongo db when we stop the primary node , application should connect with other node , python application get Exception but after that i can't connect with the other node :

I am using below code to connect with database
self.mongoConnection = Connection( self.serverAddress , port )
self.database = database.Database( self.mongoConnection , self.DATABASE_NAME )



Can any one help me on this.


Thanks
Dev