ESX host check SOAP request error - possibly a protocol issue

This article is for Amanda Enterprise (AE) v. 3.3

Link to more info:


After upgrading VMware vSphere CLI to 5.1.0, host checks for ESX DLE's fail with:Unable to get successful Check Host: "WARNING: selfcheck request failed: timeout waiting for REP".

In the server logs /var/log/amanda/client/<backupset>/Amvmware.*.debug you may see:Running this command </usr/lib/amanda/application/amvmware-helper --operation check-vcenter --server testESXserver --username zbackup --password ******** --vmname TESTVM>
stderr: SOAP request error - possibly a protocol issue: <?xml version="1.0" encoding="UTF-8"?>
stderr: <soapenv:Envelope xmlns:soapenc=""
stderr: xmlns:soapenv=""
stderr: xmlns:xsd=""
stderr: xmlns:xsi="">
stderr: <soapenv:Body>
stderr: <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ServiceInstance">ServiceInstance</obj><propSet><name>capability</name><val xsi:type="Capability"><provisioningSupported>false</provisioningSupported><multiHostSupported>false</multiHostSupported><userShellAccessSupported>false</userShellAccessSupported></val></propSet><propSet><name>content</name><val xsi:type="ServiceContent"><rootFolder type="Folder">ha-folder-root</rootFolder><propertyCollector type="PropertyCollector">ha-property-collector</propertyCollector><viewManager type="ViewManager">ViewManager</viewManager>
Exit status of child was:<255> 

Troubleshooting Tips

This issue can be caused by an incompatibility between VMware vSphere CLI 5.1.0 and certain versions of perl modules Net::HTTP and LWP. Please install the latest versions of these two modules. For example:# cpan GAAS/libwww-perl-6.05.tar.gz
# cpan GAAS/Net-HTTP-6.06.tar.gz

You can check the modules' versions by running the following# perl -MLWP -e 'print "$LWP::VERSION\n"'
# perl -MNet::HTTP -e 'print "$Net::HTTP::VERSION\n"'