We have mongodb enabled with replica set.
When we tried to connect our db from visual studio code mongodb extension, facing error as server timeout.
But if i am using directionconnection=true in connection string, it is working but this directionconnection suppress replicaset enabled in db so my application is not getting connected.
Can someone help us to give mongodb connection string with replicaset to connect db.
Could not connect Mongodb enabled with Replicaset from Visual studio code mongodb externsion without using direct connections
Could you give more information about the problem?
Like versions of your extension, database version, and error stack trace.