The driver cannot connect to a single node replica set when the replica set name is provided on Windows.
I have provided 3 screen shots, 1 Electron console on Windows (failing), 1 Node console on Windows (failing), 1 Electron console on OSX (passing, although in Compass the SDAM events are not determining the server type properly).
Steps to reproduce:
- Spin up a replica set with only one node in it. For my example I've turned off authentication and named the replica set "single". Ensure the single Node is a primary.
- Connect to the single Node from a Windows machine via MongoClient#connect with the replica set name and read preference in the connection string. I'm replicating on Windows 10 both from the Node REPL and the Electron console.
- Driver will yield a "MongoNetworkError" after a bit of a hang.
- Note that if the replica set name is not provided in the connection string, the connection will succeed.