Arbiter configuration Issue

I have run this command on arbiter server:

mongod --port 27017 --dbpath /var/lib/mongodb/arb --replSet mongocluster --bind_ip localhost,XX.XX.X.X

And getting error after running this command:

"ctx":"conn966","msg":"Authentication failed","attr":{"mechanism":"SCRAM-SHA-1","speculative":false,"principalName":"__system","authenticationDatabase":"local","remote":"","extraInfo":{},"error":"BadValue: SCRAM-SHA-1 is disallowed for cluster authentication"

Because of this getting error on primary node :

“stateStr” : “(not reachable/healthy)”
			"_id" : 4,
			"name" : "Citus1:27017",
			"health" : 0,
			"state" : 6,
			"stateStr" : "(not reachable/healthy)",
			"uptime" : 0,
			"lastHeartbeat" : ISODate("2022-10-18T11:03:44.751Z"),
			"lastHeartbeatRecv" : ISODate("1970-01-01T00:00:00Z"),
			"pingMs" : NumberLong(0),
			"lastHeartbeatMessage" : "",
			"authenticated" : false,
			"syncSourceHost" : "",
			"syncSourceId" : -1,
			"infoMessage" : "",
			"configVersion" : -1,
			"configTerm" : -1

Do you have any idea how to solve this ? Please help me to solve this problem ASAP. I’m stuck with client to deploy our product to production. Thanks.

The cluster authentication method your other nodes are using has not been configured for the arbiter.

You’re probably missing --keyFile as SCRAM-SHA-1 is being attempted.

@ Chris

Thank you so much for your Answer.
Its working correctly.
Appreciate for your efforts for help.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.