-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
-
ALL
-
RnD Security 2025-03-03
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
When running a mongodb deployment configured as shown below, I repeatedly see the following log message, from any of the 3 repl set members:
{{{"t":
{"$date":"2025-02-10T17:08:53.642+00:00"},"s":"I", "c":"ACCESS", "id":5286307, "ctx":"conn440","msg":"Failed to authenticate","attr":{"client":"172.22.0.1:39686","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Authentication session abandoned, client has likely disconnected","result":337,"metrics":{"conversation_duration":{"micros":358000215,"summary":{}}},"extraInfo":{}}}}}
docker-compose.yml:
version: '2' services: mongodb: image: "mongo:8.0.4" logging: &log driver: json-file command: --replSet myReplSet --wiredTigerEngineConfigString="cache_size=512M" --maxConns=26214 environment: GLIBC_TUNABLES: glibc.pthread.rseq=0 depends_on: - mongodb-arb - mongodb-dr mongodb-arb: image: "mongo:8.0.4" ports: - "27018:27017" logging: *log restart: always command: --replSet myReplSet --wiredTigerEngineConfigString="cache_size=512M" --maxConns=26214 mongodb-dr: image: "mongo:8.0.4" ports: - "27019:27017" logging: *log restart: always command: --replSet myReplSet --wiredTigerEngineConfigString="cache_size=512M" --maxConns=26214
rs.config():
{ "_id": "myReplSet", "members": [ { "_id": 0, "host": "mongodb:27017", "priority": 1 }, { "_id": 1, "host": "mongodb-dr:27017", "priority": 0}, { "_id": 2, "host": "mongodb-arb:27017", "arbiterOnly": true } ]}
- is related to
-
SERVER-101612 Authentication Abandoned message when auth is not enabled
-
- Open
-