mongodb-erlang icon indicating copy to clipboard operation
mongodb-erlang copied to clipboard

Connection with other server crashes

Open waqadeer opened this issue 6 years ago • 1 comments

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

waqadeer avatar Dec 11 '17 14:12 waqadeer

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?

comtihon avatar Dec 11 '17 19:12 comtihon