ESXI host fails to reconnect to vCenter with the error "The operation is not allowed in the current state"
search cancel

ESXI host fails to reconnect to vCenter with the error "The operation is not allowed in the current state"

book

Article ID: 373245

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When an ESXi host shows disconnected in vCenter, attempts to reconnect the host result in the error "Reconnect Failed. The operation is not allowed in the current state."
Network traffic is flowing between the vCenter and ESXi host.
We can see that the ESXi host does not receive the call to reconnect to vCenter through the vpxa.log file.
An environmental issue occurred recently, possibly prompting this behavior.

Environment

vSphere 7.x
vSphere 8.x

Cause

Often, a hung task in VPXD for a specific host can cause the reconnect/connect task to fail.

Resolution

Try to cancel task in UI if this fails, restart VPXD service on the vCenter server. 

service-control --stop vpxd && service-control --start vpxd