Unable to replicate VM error " No connection to VR Server: Unknown"
search cancel

Unable to replicate VM error " No connection to VR Server: Unknown"

book

Article ID: 429690

calendar_today

Updated On:

Products

VMware Live Recovery

Issue/Introduction

Symptoms

  • Virtual machine with replication configured shows the below error in vCenter server and the summary section of the virtual machine in the vSphere UI:

  • When trying to configure replication for a VM using vSphere replication following error is encountered 

Error : A replication error occurred at the vSphere Replication Server for replication "VM name: test". Details: 'No connection to VR Server for virtual machine "VM name: test" on host "ESXi host : host1" in cluster "Cluster name : cluster1" in "Cluster name : cluster1" : Unknown'.

  • When navigating to the Enhanced Replication mapping section under vSphere Replication in the VLSR UI, the Enhanced Replication Mapping test fails for a specific ESXi host. The failure is accompanied by the following error message: Fault occurred while performing health check. Details: 'Connect: Host is down'



  • Virtual Machines may be showing as "Not Active (RPO Violation)" on some ESXI hosts but works when migrated to other ESXi hosts

  • The /var/run/log/vmkwarning.log events indicate failed to connect to the target vSphere replication appliance network is unreachable.

 vmkwarning: cpu69:2137316) WARNING: Hbr: 383: Failed to connect to TARGET_VR_IP (groupID=GID-########-####-####-####-#########: Network unreachable
 vmkwarning: cpu55:2135354) WARNING: Hbr: 5362: Failed to establish connection to [TARGET_VR_IP]:31031 (groupID=GID-########-####-####-####-#########): Network unreachable 

  • In the /var/log/hbr-agent.log, connection time out to the broker in the target vSphere Replication appliance on port 32032:

2026-09-23T19:08:09.592Z In(166) hbr-agent-bin [58986525] : [0x0000009c60681700] info: [Proxy [Group: ] -> [##.##.##.##:32032]] Connecting to [##.##.##.##:32032 without specific vmk
2026-09-23T19:09:24.600Z In (166) hbr-agent-bin [58986525] : [0x0000009c60902700] error: [Proxy [Group: ] -> [##.##.##.##:32032]] Failed to connect to [##.##.##.##:32032. Error: Connection timed out

Environment

VMware Live Recovery 9.X

Cause

This issue can occur when the target vSphere Replication appliance is unable to establish communication with the source ESXi host’s VMkernel interface carrying replication traffic, typically due to a missing static route, particularly when the source host resides on a different subnet or a secondary VMkernel interface on the source host is configured with an IP address that overlaps with the target site's subnet.Consequently, the ESXi host's routing table incorrectly directs cross-site replication traffic out of this secondary interface instead of utilizing the default gateway on the primary management interface (vmk0) which is used to carry replication traffic.

Resolution

Depending on the specific cause identified in your environment, apply the appropriate remediation steps below.

Scenario A: Adding a Missing Static Route

If the source ESXi host and the target vSphere Replication appliance reside on different subnets and lack a routing path, add a static route on the affected ESXi hosts to ensure proper routing to the target broker.

  1. Access the Host: SSH into the affected ESXi host as root.

  2. List Existing Routes: Review the current routing table to confirm the route is missing by running: esxcli network ip route ipv4 list

  3. Add the Static Route: Execute the following command, replacing the placeholders with your environment's specific gateway and destination network details: esxcli network ip route ipv4 add --gateway <IPv4_gateway_address> --network <destination_network>/<subnet_mask>

  4. Verify the Route: Run the list command from step 2 again to ensure the new static route is active.

Scenario B: Removing an Overlapping VMkernel Interface

If a secondary VMkernel interface was incorrectly configured with an IP address that overlaps with the recovery site, it must be removed. This forces the host to fall back to the default gateway on the primary management network (vmk0) for cross-site replication traffic if vmk0 is used to carry replication traffic.

  1. Access the Host: SSH into the affected ESXi host as root.

  2. Identify the Misconfigured Interface: List all IPv4 VMkernel interfaces to identify the one with the overlapping IP address (e.g., vmk1) by running: esxcli network ip interface ipv4 get

  3. Remove the Interface: Delete the misconfigured secondary VMkernel interface using the following command (replace vmkX with the actual interface name): esxcli network ip interface remove --interface-name vmkX (Note: You can also perform this action via the vSphere Client by navigating to the Host > Configure > Networking > VMkernel adapters, selecting the misconfigured adapter, and clicking Remove).

  4. Verify Routing: Check the routing table to confirm that the overlapping route has been removed and that traffic destined for the target site will now correctly route through the default gateway on vmk0.

  5. Retest Replication: Return to the VMware Live Site Recovery UI and re-run the Replication mapping test to confirm the "Host is down" error is resolved.

Additional Information

Configuring static routes for vmkernel ports on an ESXi host refer Configuring static routes for vmkernel ports on an ESXi host