Configure > Advanced System Settings > Security.PasswordMaxDaysAdvance settings on vCenter ServerConfigure > Advanced Settings > VirtualCenter.VimPasswordExpirationInDays
/var/log/vmware/vpxd/vpxd.log) reports errors similar to:YYYY-MM_DDThh:mm:ss info vpxd[06466] [Originator@6876 sub=vmomi.soapStub[35733]] SOAP request returned HTTP failure; <SSL(<io_obj p:0x00007fe23c73ed20, h:61, <TCP '<VC-IP addr> : 44210'>, <TCP '<ESXi IP addr> : 443'>>), /sdk>, method: login; code: 500(Internal Server Error); fault: (vim.fault.PasswordExpired) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>--> msg = "Received SOAP response fault from [<SSL(<io_obj p:0x00007fe23c73ed20, h:61, <TCP '<VC-IP addr> : 44210'>, <TCP '<ESXi IP addr> : 443'>>), /sdk>]: login--> Cannot complete login due to expired password."--> }YYYY-MM_DDThh:mm:ss error vpxd[06466] [Originator@6876 sub=VpxdVlf] Exception in VLF: N3Vim5Fault15PasswordExpired9ExceptionE(Fault cause: vim.fault.PasswordExpired
/var/run/log/hostd.log) reports errors similar to:YYYY-MM_DDThh:mm:ss Db(167) Hostd[2099084]: [Originator@6876 sub=Solo.Vmomi] Arg userName:YYYY-MM_DDThh:mm:ss Db(167) Hostd[2099039]: --> "vpxuser"YYYY-MM_DDThh:mm:ss Db(167) Hostd[2099084]: [Originator@6876 sub=Solo.Vmomi] Arg password:YYYY-MM_DDThh:mm:ss Db(167) Hostd[2099039]: --> (not shown)YYYY-MM_DDThh:mm:ss Db(167) Hostd[2099039]: -->YYYY-MM_DDThh:mm:ss Db(167) Hostd[2099084]: [Originator@6876 sub=Solo.Vmomi] Arg locale:YYYY-MM_DDThh:mm:ss Db(167) Hostd[2099039]: --> "en"YYYY-MM_DDThh:mm:ss In(166) Hostd[2099084]: [Originator@6876 sub=Solo.Vmomi] Throw vim.fault.PasswordExpiredYYYY-MM_DDThh:mm:ss In(166) Hostd[2099084]: [Originator@6876 sub=Solo.Vmomi] Result:YYYY-MM_DDThh:mm:ss In(166) Hostd[2099039]: --> (vim.fault.PasswordExpired) {YYYY-MM_DDThh:mm:ss In(166) Hostd[2099039]: --> msg = "",YYYY-MM_DDThh:mm:ss In(166) Hostd[2099039]: --> }
vCenter Server 8.x
vSphere ESXi 8.x
The issue is caused by a mismatch in password expiration settings where VirtualCenter.VimPasswordExpirationInDays on vCenter is equal to or greater than Security.PasswordMaxDays setting on ESXi, leading to expired vpxuser credentials and failed authentication attempts.
To avoid this issue, always ensure "VirtualCenter.VimPasswordExpirationInDays" is set to smaller value than "Security.PasswordMaxDays".
Take a snapshot of vCenter Server
Navigate to:vCenter > Configure > Advanced Settings
Set VirtualCenter.VimPasswordExpirationInDays to a value lower than Security.PasswordMaxDays
Restart vpxd service for the change to take effect (service-control --restart vpxd)
As a workaround, Disconnect and reconnect the affected ESXi host from vCenter.
https://knowledge.broadcom.com/external/article/320773
VCDB=# select dns_name,password_last_upd_dt, maintenance_mode from vpx_host where dns_name like '%hostname%' order by password_last_upd_dt;