Script fails “SOAP request error – possibly a protocol issue”

Script fails “SOAP request error – possibly a protocol issue”

After upgrading a server to Ubuntu 12.04 (from 10.04) and the vSphere SDK for Perl to the latest version one of my scripts started running into a problem giving me a SOAP request error.

~# ./script.pl 
SOAP request error - possibly a protocol issue: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...

After digging into the update logs I found that this problem happened due Net-HTTP being upgraded to 6.05 (from 6.03), after a downgrade to 6.03 the problem was resolved. You can downgrade by running the following command.

cpan GAAS/Net-HTTP-6.03.tar.gz
Niels Engelen
Working as a pre-sales with an interest for anything virtual and cloud. Certified as a VMware Certified Professional 4, 5 & 6. Niels also gained the VMware vExpert award (2012-2017) and is an ex-PernixPro.

5 thoughts on “Script fails “SOAP request error – possibly a protocol issue”

  1. I have the same problem as you describe in:
    Script fails “SOAP request error – possibly a protocol issue”.
    I did your solution but this error continue.
    Can you please advice? How i can verify im in version 6.03? Any other steps to do?

    Thanks,
    Shmulik

  2. I had the same problem with the vmware vCLI tool.
    I downgraded a few modules but this seemed to fix it in the end.

    $ cpan install GAAS/libwww-perl-6.03.tar.gz

  3. The command to downgrade the module fails in my Fedora 20 box. Can you advise?
    What version of Fedora should I use for running vmware-cmd?

Comments are closed.

Comments are closed.