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.

~# ./ 
SOAP request error - possibly a protocol issue: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc=""

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.