Hi, I was trying to update my driver version from 2.4.4 to 2.5.0, in my use case I need to connect to a hidden node in a replicaset, so I need to set the ConnectionMode to Direct like this:
var client = new MongoClient( new MongoClientSettings { ConnectionMode = ConnectionMode.Direct, Server = new MongoServerAddress("x.x.x.x", 27017) });
At version 2.4.4 everything works just fine, but on version 2.5.0, I receive a Timeout Error. Can someone help me to understand the problem? Does the connection mode Direct still work, it is being deprecated or something like that?
Thanks in advance.