I basically got this message first and then the successfully message.
Just for clarification, are you able to connect successfully but are just curious for the source / reason for the “FAILED BadValue: SCRAM-SHA-256 authentication is disabled” message? If so, does the following post reply help clarify this?
Hi @Jason_Tran thanks for your answer.
Yes, i’m able to connect successfully to the database. The main reason of my question is if this “error” generates any side-effect or bad usage of my database, such as two connections attempts, e.g. first connecting action failing and reconnecting with SHA-1 success.
As per your shared post, this is just a auditing message, correct?
I have the same question, there are double the connections, got here cuz I was troubleshooting a high connections utilization. Shall we configure mongoose to use sha1?
The main reason of my question is if this “error” generates any side-effect or bad usage of my database, such as two connections attempts, e.g. first connecting action failing and reconnecting with SHA-1 success.
I have the same question, there are double the connections, got here cuz I was troubleshooting a high connections utilization. Shall we configure mongoose to use sha1?
If the DEFAULT mechanism is used, before the connection is established, the authentication methods are tried in the order specified in the documentation. If all fail, then the connection is refused. However, once authentication is successful, the connection is accepted.
I have the same question, there are double the connections, got here cuz I was troubleshooting a high connections utilization.
@Ed_Durguti Do you have more details regarding the above? I.e. Do you see in your logs that the connection is accepted for both the failure and success for each authMechanism attempted?
Additionally, do you have some more details about the Atlas tier in use?