Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net:HTTP 6.05 dows not work with VMware-vSphere-Perl-SDK [rt.cpan.org #81684] #60

Open
oalders opened this issue May 16, 2019 · 0 comments

Comments

@oalders
Copy link
Member

oalders commented May 16, 2019

Migrated from rt.cpan.org#81684 (status was 'open')

Requestors:

Attachments:

From kryol@bigmir.net on 2012-12-04 07:40:22
:

After update Net-HTTP from 6.03 to 6.05 VMware-vSphere-Perl-SDK does not
work 
I get 
SOAP request error - possibly a protocol issue: <?xml version="1.0"
encoding="UTF-8"?>

For 6.03 all worked fine.

I use FreeBSD 8.2-RELEASE. Not tested for another OSes.

# perl -v

This is perl 5, version 12, subversion 4 (v5.12.4) built for
i386-freebsd-64int

How-to-repeat:
e.g.
/usr/local/share/examples/vmware-vsphere-cli/performance/viperformance.pl --host
XX.XX.XX.XX --server XX.XX.XX.XX --countertype net --samples 1
--instance "*" --username root --password XXXXXXXXX


From nierlein@cpan.org on 2013-04-19 15:29:39
:

seems like this issue was solved by #81237 (released with 6.0.6)

From martineau.jl@gmail.com on 2013-09-11 18:57:00
:

Net-HTTP 6.06 might fix the bug when using IO::Socket::SSL but vmware is
using Crypt::SSLeay.
A similar fix for Net::SSL is required, the problem is that Net::SSL do not
yet have the pending method, it should be added, returning the value of
SSL_pending.

The correct fix is probably:
   return 1 if $self->can('pending') && $self->pending;
and ask the Net::SSL maintainer to add the pending method.


From martineau.jl@gmail.com on 2014-04-24 21:31:49
:

Net::HTTP-6.04 and newer are not compatible with Net::SSL

Net::SSL2.86 add the 'pending' method.

The attached patch fix Net:HTTP to use the pending method of Net:SSL.

A new release with this patch will be appreciated by all vmware users,
downgrading LWP and Net::SSL will no longer be required.

Jean-Louis


From https://www.google.com/accounts/o8/id?id=AItOawmgj_ZwMoFVbbbACmIegfUp5mGrRAE9rHA on 2014-10-23 22:50:51
:

On Thu Apr 24 17:31:49 2014, martineau.jl@gmail.com wrote:
> 
> A new release with this patch will be appreciated by all vmware users,
> downgrading LWP and Net::SSL will no longer be required.

This patch doesn't work for me to fix the VMware Perl SDK.  What does work is to remove the parts in VICommon.pm that explicitly require Net::SSL or Crypt::SSLeay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant