Adding vSAN witness host to vCenter server fails.
search cancel

Adding vSAN witness host to vCenter server fails.

book

Article ID: 430466

calendar_today

Updated On:

Products

VMware vSAN VMware vSphere ESXi

Issue/Introduction

  • When attempting to add a deployed vSAN Witness appliance (running on a standalone ESXi host) to a vCenter Server or an existing vSAN cluster, the operation fails with error : "Cannot contact the specified host witness-01. The host may not be available on the network, a network configuration problem may exist or the management services on this host may not be responding"



  • While the witness host is reachable via ping, but cannot be managed by vCenter.

Environment

VMware vSAN 8.x(ESA and OSA)
VMware vCenter Server 8.x

Cause

The issue is caused by a network communication between the vCenter Server and the standalone ESXi host (Witness). Specifically, firewalls or local security rules are blocking essential management traffic.

From VC, var/log/vmware/vpxd/vpxd.log there is an event for "failed to connect and connection reset by peer"

2026-02-12T01:40:16.751Z warning vpxd[3255568] [Originator@6876 sub=IO.Connection opID=mj2d5b9j-309727-auto-6mzk-h5:70039616-98] Failed to connect; <io_obj p:0x00007f35a40595b0, h:-1, <TCP '0.0.0.0 : 38768'>, <TCP '10.##.##.26 : 443'>>, e: 104(Connection reset by peer), duration: 106036msec
2026-02-12T01:40:16.751Z info vpxd[3255568] [Originator@6876 sub=IO.Connection opID=mj2d5b9j-309727-auto-6mzk-h5:70039616-98] Failed to shutdown socket; <io_obj p:0x00007f35a40595b0, h:-1, <TCP '0.0.0.0 : 38768'>, <TCP '10.##.##.26 : 443'>>, e: 9(shutdown: Bad file descriptor [system:9])
2026-02-12T01:40:16.751Z warning vpxd[3255568] [Originator@6876 sub=HttpConnectionPool-018245 opID=mj2d5b9j-309727-auto-6mzk-h5:70039616-98] Failed to get pooled connection; <cs p:00007f3544673b10, TCP:prd-vsan-###-##.##.##-##:443>, (null), duration: 106040msec, N7Vmacore17CanceledExceptionE(Operation was canceled)
-->  [context]zKq7AVECAQAAAI48ewEUdnB4ZAAAQxxTbGlidm1hY29yZS5zbwAACBhCACk/QwCWmUqBpe0cAXZweGQAgQ8XMAGB4yQwAYIzljQBbGlidmltLXR5cGVzLnNvAIHd7YICA011HGxpYnZtb21pLnNvAIGCxmACgVx5gQKBp4mBAoGbnIACgYpzgQIABOw3ABdFOADFD1EEsI4AbGlicHRocmVhZC5zby4wAAXf+g9saWJjLnNvLjYA[/context]
2026-02-12T01:40:16.755Z error vpxd[19775] [Originator@6876 sub=Default opID=mj2d5b9j-309727-auto-6mzk-h5:70039616-98] [VpxLRO] -- ERROR lro-19205119 -- #######-deea-e97c-####-##############(######-9035-4976-####-############) -- datacenter-X -- vim.Datacenter.queryConnectionInfoViaSpec: :vim.fault.NoHost
--> Result:
--> (vim.fault.NoHost) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    name = "###-##-##-##.##"
-->    msg = ""
--> }

From VC, vSphere_client_virgo.log there is an event with "cannot connect to host as host is not available on the network"

[2026-02-12T01:40:16.756Z] [ERROR] -nio-127.0.0.1-5090-exec-104 70039616 103655 200073 com.vmware.vsphere.client.host.impl.HostMutationProvider  Error when validating host connection com.vmware.vim.binding.vim.fault.NoHost: Cannot contact the specified host (###-##-##-##.##). The host may not be available on the network, a network configuration problem may exist.management services on this host may not be responding.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:4
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

Resolution

  1. Coordinate with the networking team to ensure bidirectional communication is allowed on ports 443 and 902 between the vCenter Server and the Witness Host.

  2. Verify that the network supports an MTU of 1500 for management traffic.

  3. From the vCenter Server ssh , validate the connectivity using the below command:
    • curl -v telnet://<Witness_Host_IP>:443
    • curl -v telnet://<Witness_Host_IP>:902

  4. From Witness node ssh, validate the connectivity using the below command:
    • nc -zuv <vCenterServerFQDN> 902
    • nc -zv <vCenterServerFQDN> 443
  5. Once connectivity is confirmed, retry adding the witness host to the vCenter inventory.

Additional Information

Port requirements for VMware vSphere ESXi