Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Robomongo can't connect: Missing expected field

I tried to connect to MongoDB in AWS using Robomongo. When I connect, I got this error:

Cannot connect to the MongoDB at x.x.x.x:27017

Error:
Missing expected field "mechanism"

Does anyone know how to solve this error? I already open the 27017 port to 0.0.0.0.

like image 995
Aminah Nuraini Avatar asked Jul 20 '16 14:07

Aminah Nuraini


1 Answers

In Robomongo change in Connection Settings - Authentication - Auth Mechanism from SCRAM-SHA-1 to MONGODB-CR.

like image 133
Артём Кузьменко Avatar answered Sep 21 '22 05:09

Артём Кузьменко