A generic error occurred in the vSphere Replication Management Server. Exception details: 'https://xx.xx.xx.xx:443/lookupservice/sdk invocation failed with "java.net.NoRouteToHostException: No route to host
search cancel

A generic error occurred in the vSphere Replication Management Server. Exception details: 'https://xx.xx.xx.xx:443/lookupservice/sdk invocation failed with "java.net.NoRouteToHostException: No route to host

book

Article ID: 400366

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • Unable to create replication for any VM's from Prod to Recovery site fails with this Error :  "A generic error occurred in the vSphere Replication Management Server. Exception details: 'https://cidrvcenter.ongc.co.in:443/lookupservice/sdk invocation failed with "java.net.NoRouteToHostException: No route to host"'
  • Creating VM replication using legacy and Enhanced replication works from recovery to prod site.
  • Existing replications that were previously configured from Production to Recovery site continue to function without issues. The problem is isolated only to the creation of new replications from the DC (Production) site.
  • The failure message highlighted below, captured from the /opt/vmware/hms/logs/hms.log file on the Recovery site vSphere Replication appliance, indicates that replication configuration for a VM failed.

    25-05-30 16:19:42.870 ERROR com.vmware.hms.job [hms-main-thread-24082] (..job.impl.SecondaryVc2VcConfigureReplicationWorkflow) [operationID=3c870e05-1810-407e-8492-3e159c326a83-HMS-1455336,sessionID=2678862F, operationID=3c870e05-1810-407e-8492-3e159c326a83-HMS-1455336,sessionID=2678862F, task=HTID-10ac928c-400d-4aeb-a602-1a709d8568b4] | Failed to remote configure replication 'GID--########-####-####-####-############' with spec: (hms.VcReplicationSpec)

    2025-05-30 16:19:43.025 DEBUG com.vmware.hms.replication.secondaryGroup [24] (..hms.replication.SecondaryGroupImpl) [operationID=3c870e05-1810-407e-8492-3e159c326a83-HMS-1455336,sessionID=2678862F] | remoteSetConfigurationState(GID-########-####-####-####-############, (hms.VersionedConfigurationState) {
       dynamicType = null,
       dynamicProperty = null,
       configurationState = error,
       version = 2
    }, (hms.fault.HmsMethodFault) {
       faultCause = null,
       faultMessage = null,
       originalMessage = https://vcenter.example.com:443/lookupservice/sdk invocation failed with "java.net.NoRouteToHostException: No route to host"
    }) : (hms.VersionedStatus) {
       dynamicType = null,
       dynamicProperty = null,
       status = error,
       version = 1

Environment

VMware vSphere Replication 8.x

VMware vSphere Replication 9.x

Cause

Replication group creation for VM fails due to issues in communication between the target vSphere replication appliance (HMS server) and its associated vCenter Server.

 

Resolution

Reconfigure the vSphere Replication appliance from the VAMI page at the recovery (target) site to re-establish proper communication with the associated vCenter Server