Details
Description
Currently, we print this error when logical sessions cannot have more than one user authenticated on a single connection:
|
E QUERY [js] Error: listDatabases failed:{
|
"operationTime" : Timestamp(1528996174, 15),
|
"ok" : 0,
|
"errmsg" : "too many users are authenticated",
|
"code" : 13,
|
"codeName" : "Unauthorized",
|
"$clusterTime" : {
|
"clusterTime" : Timestamp(1528996174, 15),
|
"signature" : {
|
"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
|
"keyId" : NumberLong(0)
|
}
|
}
|
} :
|
It would be more helpful for self-diagnostics and provide a better hint to a problem by printing something like this instead:
logical sessions can't have multiple authenticated users (for more details see: https://docs.mongodb.com/manual/core/authentication/#authentication-methods)
|
Attachments
Issue Links
- related to
-
SERVER-47607 "errmsg" : "too many users are authenticated",
-
- Closed
-