throw er; // Unhandled 'error' event
Error: No valid replicaset instance servers found
if you are using nodejs and you are facing above error.
then you will need to update your mongo drivers (npm packages: connect-mongo and mongoose )
below versions should work: