Open ababutski opened 7 years ago
I am getting exactly the same issue. A simple InsertOne or InsertOneAsync always results in "Unknown server error" (is that an unknown server or an unknown error on the server - great error message!).
Same error from Robo 3T.
Same code works perfectly when writing to local MongoDb just not to the local Cosmos db emulator.
I can insert with the browser based emulator Explorer but I suspect it doesn't use the MongoDb API.
connection string is: mongodb://localhost:C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==@localhost:10250/admin?ssl=true
For now using a local mongodb instead.
on two PCs when i'm trying to insert new document via mongoDB API always recivce "Unknown server error 1". Tried from my application and RoboMongo with same result. Windows 10 Professional