Hi,
we want to migrate our app and before we start the "real" migrate we want to migrate a test app (clone20160808). But when we type in the MongoDB Connection String we get always the error message "Server returned error on SASL authentication step: Authentication failed."
The Mongo Console says:
SCRAM-SHA-1 authentication failed for user on dev from client 54.85.233.153 ; AuthenticationFailed SCRAM-SHA-1 authentication failed, storedKey mismatch
It seems like the password is wrong but it's definitely right. We tried to connect from a laptop with a simple node app:
var mongoose = require("mongoose");
mongoose.connect("mongodb://user:secretPassword@IP:27017/dev");
var db = mongoose.connection;
db.on("error", console.error.bind(console, "connection error:"));
db.once("open",function(){
console.log("connected");
});
and it's working!
Our server is running on Ubuntu 16.04.
MongoDB is 3.0.12 but we also tried on 2.6 and 3.2
Please help us.
I've got the solution. There was a plus in the password...
Most helpful comment
I've got the solution. There was a plus in the password...