MongoDB log is flooded with SSL error warnings

Since after I upgraded from MongoDB 4.4.28 to 4.4.29 in Sharded Cluster environment with SSL enabled, the DB servers are getting the following error. We have been to upgraded MongoDB from 4.4 to 5.0 then 5.0 to 6.0. Now we are 6.0.16. The error persists all of these period. It’s coming from 127.0.0.1 (localhost). The connection fails, and it tries again repeatedly over and over.

{"t":{"$date":"2024-07-23T17:46:25.964+00:00"},"s":"D3", "c":"-",        "id":5127801, "ctx":"thread183","msg":"Setting the Client","attr":{"client":"conn118"}}
{"t":{"$date":"2024-07-23T17:46:25.981+00:00"},"s":"D2", "c":"NETWORK",  "id":4908000, "ctx":"conn118","msg":"Client connected with SNI extension","attr":{"sniName":"localhost"}}
{"t":{"$date":"2024-07-23T17:46:25.981+00:00"},"s":"W",  "c":"NETWORK",  "id":23234,   "ctx":"conn118","msg":"No SSL certificate provided by peer"}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D2", "c":"COMMAND",  "id":5578800, "ctx":"conn118","msg":"Received wire protocol op code or command that is no longer supported. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal","attr":{"op":"query","clientInfo":{"address":"127.0.0.1:49184"}}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D1", "c":"ASSERT",   "id":23074,   "ctx":"conn118","msg":"User assertion","attr":{"error":"UnsupportedOpQueryCommand: Unsupported OP_QUERY command: getnonce. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal","file":"src/mongo/rpc/warn_unsupported_wire_ops.cpp","line":136}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D1", "c":"COMMAND",  "id":21963,   "ctx":"conn118","msg":"Assertion while parsing command","attr":{"error":"UnsupportedOpQueryCommand: Unsupported OP_QUERY command: getnonce. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal"}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn118","msg":"Slow query","attr":{"type":"query","ns":"","numYields":0,"ok":0,"errMsg":"Unsupported OP_QUERY command: getnonce. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal","errName":"UnsupportedOpQueryCommand","errCode":352,"reslen":426,"locks":{},"remote":"127.0.0.1:49184","durationMillis":0}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D2", "c":"QUERY",    "id":22783,   "ctx":"conn118","msg":"Received interrupt request for unknown op","attr":{"opId":2023,"knownOps":[]}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D3", "c":"-",        "id":5127803, "ctx":"conn118","msg":"Released the Client","attr":{"client":"conn118"}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D3", "c":"-",        "id":5127801, "ctx":"conn118","msg":"Setting the Client","attr":{"client":"conn118"}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D2", "c":"COMMAND",  "id":21965,   "ctx":"conn118","msg":"About to run the command","attr":{"db":"admin","client":"127.0.0.1:49184","commandArgs":{"ismaster":1,"$readPreference":{"mode":"secondaryPreferred"},"$db":"admin"}}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D3", "c":"NETWORK",  "id":22934,   "ctx":"conn118","msg":"Starting server-side compression negotiation"}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D3", "c":"NETWORK",  "id":22935,   "ctx":"conn118","msg":"Compression negotiation not requested by client"}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn118","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"$readPreference":{"mode":"secondaryPreferred"},"$db":"admin"},"numYields":0,"reslen":935,"locks":{},"remote":"127.0.0.1:49184","protocol":"op_query","durationMillis":0}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D2", "c":"QUERY",    "id":22783,   "ctx":"conn118","msg":"Received interrupt request for unknown op","attr":{"opId":2026,"knownOps":[]}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D3", "c":"-",        "id":5127803, "ctx":"conn118","msg":"Released the Client","attr":{"client":"conn118"}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D3", "c":"-",        "id":5127801, "ctx":"conn118","msg":"Setting the Client","attr":{"client":"conn118"}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D2", "c":"NETWORK",  "id":22986,   "ctx":"conn118","msg":"Session from remote encountered a network error during SourceMessage","attr":{"remote":"127.0.0.1:49184","error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D1", "c":"ASSERT",   "id":23074,   "ctx":"conn118","msg":"User assertion","attr":{"error":"HostUnreachable: Connection closed by peer","file":"src/mongo/transport/service_state_machine.cpp","line":299}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D1", "c":"ASSERT",   "id":23074,   "ctx":"conn118","msg":"User assertion","attr":{"error":"HostUnreachable: Connection closed by peer","file":"src/mongo/transport/service_state_machine.cpp","line":446}}
{"t":{"$date":"2024-07-23T17:46:25.982+00:00"},"s":"D2", "c":"NETWORK",  "id":5763901, "ctx":"conn118","msg":"Terminating session due to error","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}}
{"t":{"$date":"2024-07-23T17:46:25.983+00:00"},"s":"D2", "c":"NETWORK",  "id":5127900, "ctx":"conn118","msg":"Ending session","attr":{"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Connection closed by peer"}}}
{"t":{"$date":"2024-07-23T17:46:25.983+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn118","msg":"Connection ended","attr":{"remote":"127.0.0.1:49184","uuid":"cf73271f-21fb-46e6-9b0b-6e6d720bb176","connectionId":118,"connectionCount":35}}
{"t":{"$date":"2024-07-23T17:46:25.983+00:00"},"s":"D3", "c":"-",        "id":5127803, "ctx":"conn118","msg":"Released the Client","attr":{"client":"conn118"}}
{"t":{"$date":"2024-07-23T17:49:15.973+00:00"},"s":"W",  "c":"NETWORK",  "id":23234,   "ctx":"conn118","msg":"No SSL certificate provided by peer"}
{"t":{"$date":"2024-07-23T17:49:15.974+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn118","msg":"Connection ended","attr":{"remote":"127.0.0.1:49604","uuid":"9c216229-1a96-4d09-a719-3314d500ef38","connectionId":118,"connectionCount":35}}