Closed Vkutovoy92 closed 3 months ago
Hi! Does it support MongoDB 7.0.12? With which Erl version? I tried {mongodb, {git, "https://github.com/emqx/mongodb-erlang.git", {tag, "v3.0.23"}}}, And Erlang@24.3.4
I got the error
2024-08-13T10:55:56.239427+03:00 [notice] Application: afsts. Exited: {bad_return,{{afsts_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{connect_failed,{saslStart,#{<<"$clusterTime">> => #{<<"clusterTime">> => {mongostamp,1,1723535746},<<"signature">> => #{<<"hash">> => {bin,bin,<<211,215,44,35,186,92,9,95,75,33,137,222,210,120,145,174,128,239,235,216>>},<<"keyId">> => 7395509061770280966}},<<"code">> => 18,<<"codeName">> => <<"AuthenticationFailed">>,<<"errmsg">> => <<"Authentication failed.">>,<<"operationTime">> => {mongostamp,1,1723535746}}}}}},[{afsts_db,init,1,[{file,"/Users/dn010992kvo1/Documents/afsts/src/base/afsts_db.erl"},{line,73}]},{afsts_app,start,2,[{file,"/Users/dn010992kvo1/Documents/afsts/src/afsts_app.erl"},{line,19}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,293}]}]}}}}. Type: permanent. I tried also
Result = mc_worker_api:connect([ {login, LOGIN}}, {password, PASSWORD}, {host, HOST}, {port, 27017}, {register, mongo_test} ]).
{error,{saslStart,#{<<"$clusterTime">> => #{<<"clusterTime">> => {mongostamp,1,1723543776}, <<"signature">> => #{<<"hash">> => {bin,bin, <<106,209,31,148,49,188,140,37,87,240,84,225,67,14,118, 245,65,186,160,...>>}, <<"keyId">> => 7395509061770280966}}, <<"code">> => 18, <<"codeName">> => <<"AuthenticationFailed">>, <<"errmsg">> => <<"Authentication failed.">>, <<"operationTime">> => {mongostamp,1,1723543776}}}}
What should I do? Thank's
Hi! Does it support MongoDB 7.0.12? With which Erl version? I tried {mongodb, {git, "https://github.com/emqx/mongodb-erlang.git", {tag, "v3.0.23"}}}, And Erlang@24.3.4
I got the error
2024-08-13T10:55:56.239427+03:00 [notice] Application: afsts. Exited: {bad_return,{{afsts_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{connect_failed,{saslStart,#{<<"$clusterTime">> => #{<<"clusterTime">> => {mongostamp,1,1723535746},<<"signature">> => #{<<"hash">> => {bin,bin,<<211,215,44,35,186,92,9,95,75,33,137,222,210,120,145,174,128,239,235,216>>},<<"keyId">> => 7395509061770280966}},<<"code">> => 18,<<"codeName">> => <<"AuthenticationFailed">>,<<"errmsg">> => <<"Authentication failed.">>,<<"operationTime">> => {mongostamp,1,1723535746}}}}}},[{afsts_db,init,1,[{file,"/Users/dn010992kvo1/Documents/afsts/src/base/afsts_db.erl"},{line,73}]},{afsts_app,start,2,[{file,"/Users/dn010992kvo1/Documents/afsts/src/afsts_app.erl"},{line,19}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,293}]}]}}}}. Type: permanent. I tried also
What should I do? Thank's