Enhanced Replication Mapping in Error State with "Connection Timed Out" or "401 Unauthorized" during Health Checks
search cancel

Enhanced Replication Mapping in Error State with "Connection Timed Out" or "401 Unauthorized" during Health Checks

book

Article ID: 439075

calendar_today

Updated On:

Products

VMware Live Recovery VMware vSphere ESXi

Issue/Introduction

Symptoms

Enhanced Replication Mapping health checks fail with one or more of the following symptoms:

“Fault occurred while performing health check. Details: Connection timed out.”
“Fault occurred while performing health check. Details: 401 Unauthorized from GET https://<hostIP>/hbragent/api/v1.0/appPing?broker_ip=<VRMS>&broker_port=32032&group=PING-GID-####…”

Functional Validation

  • Test Recovery and Planned Migration operations complete successfully despite the health check error.

Network Validation

  • Connectivity from Production to DRC on port 32032 is successful.
  • Connectivity from DRC to Production on port 32032 fails with a timeout.

Port validation indicates failure in reverse connectivity direction:

[root@SourceESXi:] nc -zv <DR ESXi IP> 32032
Connection to <DR ESXi IP> 32032 port [tcp/*] succeeded!

[root@DestinationESXi:] nc -zv <PROD ESXi IP> 32032

nc: connect to <PROD ESXi IP> port 32032 (tcp) failed: Connection timed out

OpenSSL validation confirms connection failure:

[root@DestinationESXi:] openssl s_client -connect <PROD ESXi IP>:32032
805BDDA7B6000000: error : 8000006E : system library: BIO_connect : Connection timed out: crypto/bio/bio_sock2. c: 117:calling connect ()
805BDDA7B6000000: error: 10000067: BIO routines : BIO_connect : connect error : crypto/bio/bio_sock2. c: 119:
connect : errno=110

Log Validation

  • /opt/vmware/hms/logs/hms.log indicates: connectivity: {tcp: false, ssl: false} ... failReason: Connect: Connection timed out.

2026-04-17 14:29:24.373 DEBUG com.vmware.hms.net.HbrAgentHealthMonitorService [hms-main-thread-101] (..hms.net.HbrAgentHealthMonitorService) [operationID=2af9e735-###-HMS-1385,sessionID=CD3338FB, operationID=2af9e735-####-HMS-1385,sessionID=CD3338FB] | Ping test execution result for host 'host-81', group 'PING-GID-####....', hbrBroker: '(hms.HbrBrokerEndpoint) {
   dynamicType = null,
   dynamicProperty = null,
   ipAddress = <VRMS>
   lwdPort = 31031,
   lwdsPort = 32032,

}' is: '{"group":"PING-GID-####....","endpoints":{"broker":{"address":"VRMS","port":32032,"connectivity":{"tcp":true,"ssl":true},"latency":{"tcp":{"value":6602,"units":"us"}}},"targets":[{"address": "Destination ESXi IP","port":32032,"connectivity":{"tcp":false,"ssl":false},"latency":{"tcp":{"value":75005625,"units":"us"}},"failReason":"Connect: Connection timed out"},{"address":"<Source ESXi IP>","port":32032,"connectivity":{"tcp":true,"ssl":true,"login":true},"latency":{"tcp":{"value":8497,"units":"us"}}}]},"sourceHostId":"host-81","sourceHostName":"Destination ESXi FQDN","targetHostId":"host-45","targetHostName":"Source ESXi FQDN"}'.

  • The health monitor service consistently failed to execute ping test calls from host <Destination> - /var/run/log/hbr-agent.log

2026-04-17T11:39:05.120Z In(166) hbr-agent-bin[4426394]: [0x0000004bb57ba700] info: [Proxy [Group: PING-GID-####....] -> [<ESXi IP>:32032]] [57773488-####-HMS-2745] Connecting to <ESXi IP>:32032 without specific vmk
2026-04-17T11:40:20.126Z In(166) hbr-agent-bin[4426394]: [0x0000004bb5739700] error: [Proxy [Group: PING-GID-####....] -> [<ESXi IP>:32032]] [57773488-####...-HMS-2745] Failed to connect to <ESXi IP>:32032. Error: Connection timed out
2026-04-17T11:40:20.126Z In(166) hbr-agent-bin[4426394]: [0x0000004bb5739700] error: [Proxy [Group: PING-GID-####....] -> [<ESXi IP>:32032]] [57773488-####....-HMS-2745] Failed to connect to server <ESXi IP>:32032 using broker info: Connection timed out
2026-04-17T11:40:20.127Z In(166) hbr-agent-bin[4426394]: [0x0000004bb57ba700] info: [Proxy [Group: PING-GID-####....] -> [<ESXi IP>:32032]] [57773488-####....-HMS-2745] Setting up secure tunnel to brokered server <VRMS>:32032 (2 of 2)

Packet Capture Observation

TCP reset (RST) packets are observed between:

  • DRC ESXi -- >  Production VRMS
  • DRC ESXi -- > Production ESXi

This indicates abrupt termination of TCP sessions during connectivity attempts.

Environment

VMware vSphere Replication 9.0.2

Site Recovery Manager 9.0.2

Cause

The issue is caused by a non-standard VMkernel configuration where multiple interfaces on the ESXi host have Management services enabled simultaneously (e.g., vmk0 and vmk4).

This results in replication and management traffic sharing overlapping VMkernel paths.

Justification

When Management, NFC, and replication traffic share redundant or overlapping VMkernel paths, it introduces network routing ambiguity. This lack of isolation prevents the vSphere Replication Health Monitor from consistently establishing secure sessions, resulting in:

  • Intermittent connectivity failures and TCP session resets (RST packets).
  • Connection timeouts on port 32032.
  • Authentication failures (401 Unauthorized) during automated health check pings.

Sample Screenshot

 

Resolution

To resolve this issue, isolate the Management traffic to a single VMkernel interface per ESXi host to eliminate routing ambiguity.

Steps

  1. Log in to the vSphere Client.
  2. Navigate to ESXi Host > Configure > Networking > VMkernel adapters.
  3. Identify the VMkernel adapters where the Management service is redundantly enabled (e.g., vmk0 and vmk4).
  4. Select the secondary adapter(s) and click Edit.
  5. Under Port services, uncheck Management.
  6. Ensure the Management service remains enabled only on the primary VMkernel interface (typically vmk0).
  7. Repeat these steps for all ESXi hosts in both the Production and DRC environments.

Note: The above steps must be repeated across all ESXi hosts in both Production and DRC environments.

If the issue persists after validating VMkernel service isolation, follow the steps in Contact Broadcom Support to open a service request.