mongodb-erlang
mongodb-erlang copied to clipboard
Connection with other server crashes
I did this
{ok, Connection} = mc_worker_api:connect([{database, Database}, {host, "10.0.0.0"}, {port, 27017}, {login, <<"root">>}, {password, <<"">>}]),
Got this
2017-12-11 19:41:03.458 [error] <0.1426.0> CRASH REPORT Process <0.1426.0> with 0 neighbours crashed with reason: <<"Can't pass authentification">> in mc_auth_logic:scram_sha_1_auth/5 line 55
Bad luck. Have you tried connecting with this credentials via mongo shell? Which database these credentials belong to - root or Database? What is the version of the mongodb? Is pbkdf application loaded?