Need Help for Error: SCRAM-SHA-256 authentication is disabled

Configured the promethus. All necessary steps followed Still getting below error
{“t”:{"$date":“2022-11-14T23:56:12.296+00:00”},“s”:“I”, “c”:“ACCESS”, “id”:20249, “ctx”:“conn56901”,“msg”:“Authentication failed”,“attr”:{“mechanism”:“SCRAM-SHA-256”,“speculative”:true,“principalName”:“mms-monitoring-agent”,“authenticationDatabase”:“admin”,“remote”:“40.85.156.35:47758”,“extraInfo”:{},“error”:“BadValue: SCRAM-SHA-256 authentication is disabled”}}

it seems your app is set to use SCRAM-SHA-256, but this method is disabled on the server.

please refer to this page: Configure MongoDB Authentication and Authorization — MongoDB Cloud Manager

1 Like