Third party solutions report intermittent login failures.
You see the following fault in vpxd.log:
-- ERROR lro-675052729 -- SessionManager -- vim.SessionManager.login: vim.fault.InvalidLogin:--> Result:--> (vim.fault.InvalidLogin) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = (vmodl.LocalizableMessage) [--> (vmodl.LocalizableMessage) {--> key = "vim.fault.InvalidLoginWithReason",--> arg = (vmodl.KeyAnyValue) [--> (vmodl.KeyAnyValue) {--> key = "1",--> value = "vim.fault.InvalidLoginReasonRegisterFailed"--> }--> ],--> message = <unset>--> }--> ]
vCenter Server 7.x
vCenter Server 8.x
The cause of the issue is due to the API call vim.sessionmanager.login being used incorrectly.
To prevent the error, do not invoke the vim.SessionManager.login api call within an already logged on user session.
Do not invoke vim.SessionManager.login if there is an already logged on user session or use vim.SessionManager.logout before trying to login within the same session again.