Failed to run Fixpsc script in vCenter with error "Failed to connect to the remote host, reason = rpc_s_connect_timed_out"
search cancel

Failed to run Fixpsc script in vCenter with error "Failed to connect to the remote host, reason = rpc_s_connect_timed_out"

book

Article ID: 455484

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • Executing the fixpsc script in a vCenter Server Linked Mode environment returns the error below:
    dir-cli failed. Error 382312513: Failed to connect to the remote host, reason = rpc_s_connect_timed_out (0x16c9a041)
  • Executing the following dir-cli command results in a timeout:
    /usr/lib/vmware-vmafd/bin/dir-cli state get --server-name <partner vCenter> --login administrator

Environment

VMware vCenter Server

Cause

  • This issue occurs because TCP port 2012 is blocked between the vCenter Server instances.
  • Per https://ports.broadcom.com, TCP port 2012 is used for RPC communications for Enhanced Linked Mode.

Resolution

Update the firewall configuration to allow bi-directional TCP traffic over port 2012 between the affected vCenter Servers.

Additional Information

VMDir State is Read Only with vmdir inconsistencies

vCenter Server Preupgrade check result error: "VMDir Replication between partners is not working"