To add to this, the secondary node’s logs are filled with the same error message:

{"t":{"$date":"2024-05-09T15:31:37.936+02:00"},"s":"I",  "c":"REPL_HB",  "id":23974,   "ctx":"ReplCoord-6","msg":"Heartbeat failed after max retries","attr":{"target":"<primary node hostname>:27017","maxHeartbeatRetries":2,"error":{"code":6,"codeName":"HostUnreachable","errmsg":"Error connecting to <primary host name>:27017 (<ip address>:27017) :: caused by :: onInvoke :: caused by :: The client and server cannot communicate, because they do not possess a common algorithm."}}}

There are no traces of this in the primary node’s logs.