Parse-server: "Server returned error on SASL authentication step: Authentication failed."

Created on 15 Aug 2016  路  1Comment  路  Source: parse-community/parse-server

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.

Most helpful comment

I've got the solution. There was a plus in the password...

>All comments

I've got the solution. There was a plus in the password...

Was this page helpful?
0 / 5 - 0 ratings