ESXi Host in Not Responding state: VPXA Fails with SOAP Error
search cancel

ESXi Host in Not Responding state: VPXA Fails with SOAP Error

book

Article ID: 433482

calendar_today

Updated On:

Products

VMware vSphere ESXi 8.0 VMware vSphere ESXi

Issue/Introduction

  • An ESXi host is in a "Not Responding" state.

  • The VPXA service crashes immediately after starting using the command: /etc/init.d/vpxa

  • The /var/run/log/vpxa.log file records the following exact error:

    [timestamp] error vpxa[212###9] [Originator@6876 sub=vmomi.soapStub[2]] Error deserializating SOAP response body <<io_objt:N7Vmacore6System19TCPSocketObjectAsioE, h:20, <TCP '127.0.0.1 : 41916'>, <TCP '127.0.0.1 : 8307'>>, /sdk>, method: waitForUpdates, e:
    --> Error returned by expat parser: not well-formed (invalid token)
    -->
    --> while parsing serialized value of type string
    --> error parsing Any with xsiType string
    --> at line 8, column 20629
    -->
    --> while parsing property "value" of static type anyType
    -->
    --> while parsing serialized DataObject of type vim.option.OptionValue
    --> at line 8, column 20588
    -->
    --> while parsing property "extraConfig" of static type ArrayOfOptionValue
    (truncated for readability)

  • Additionally vim-cmd operations fail with error: “Error returned by expat parser: not well-formed (invalid token)”

  • The /var/run/log/hostd.log file flags a recently modified virtual machine containing a corrupt .vmx file:

    [timestamp] In(166) Hostd[26##23]: [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/e2a####-#####8246/vm-01-example/vm-01-example.vmx] Send config update invoked

  • Reviewing the .vmx file reveals a corrupt guestinfo.appInfo string containing invalid ASCII/hex characters (truncated for readability):

    guestinfo.appInfo = "{|0A|22version|22:|221|22, |0A|22updateCounter|22:|221|22, |0A|22publishTime|22:|[timestamp]|22, |0A|22applications|22:[|0A{|22a|22:|22[System Process]|22,|22v|22:|22|22},|0A{|22a|22:|22SentinelAgent.exe|22,|22v|22:|2224.2.3.471|22},|0A{|22a|22:|22cuAgent.exe|22,|22v|22:|229.0.5.454|22},|0A{|22a|22:|22Atasphere.WinSourceClient.exe|22,|22v|22:|221.0.0.0|22},|0A{|22a|22:|22svchost.exe|22,|22v|22:|2210.0.17763.3346|22},|0A{|22a|22:|..."

Cause

Invalid characters or malformed strings are present in the VM's guestInfo properties (specifically guestinfo.appInfo or DNS searchDomain). These characters are incompatible with XML standards. When the host's PropertyCollector attempts to serialize this data for vCenter, the Expat parser fails, causing a fatal error in the VPXA service.

Resolution

Broadcom Engineering is aware of this issue. A permanent fix that ensures robust XML sanitization of guest-provided data is planned for a future release of ESXi.

Workaround: Disable the appInfo plug-in within the guest operating system of the affected virtual machine.

For a Linux guest:

  1. Open a shell in the guest operating system.
  2. Disable the appInfo plug-in or set the poll interval to zero using one of the following commands:

    1. vmware-toolbox-cmd config set appinfo disabled true

    2. vmware-toolbox-cmd config set appinfo poll-interval 0

For a Windows guest:

  1. Open a command prompt in the guest operating system.
  2. Disable the appInfo plug-in or set the poll interval to zero using one of the following commands:

    1. VMwareToolboxCmd.exe config set appinfo disabled true

    2. VMwareToolboxCmd.exe config set appinfo poll-interval 0

For more information on configuring the appInfo plug-in, retrieving data, or modifying the poll interval, see Broadcom TechDocs: Configure appInfo.