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
5 thoughts on “Script fails “SOAP request error – possibly a protocol issue””
Thanks!!
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
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
And in reply to the comment about finding the version of perl modules installed, see here.. http://stackoverflow.com/questions/135755/how-can-i-find-the-version-of-an-installed-perl-module
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.