
rolfm at denison
Jul 18, 2008, 9:24 PM
Post #1 of 4
(203 views)
Permalink
|
|
Re: bric_soap problem: TRANSPORT ERROR: 500 -- solution
|
|
Just wanted to report that on 1.10.5, with the latest version of LWP and SOAP::Lite, we are getting the following error with nothing in the error log. TRANSPORT ERROR: 500 Can't locate object method "new" via package "LWP::Protocol::https::Socket" Check the Apache error log for more information. Also tried dropping back to 5.808 of LWP and that didn't work. -Matt On Apr 14, 2008, at 10:11 PM, David E. Wheeler wrote: > On Apr 14, 2008, at 01:31, Maik Arnold wrote: > >>> Are you saying that with SOAP::Lite 0.71, and only the LWP brought >>> back 5.810->5.808, things now work, or did you change SOAP::Lite, >>> too? >>> >> i only downgraded the LWP module and my SOAP::Lite version is still >> 0.71 > > Okay, I've figured out this issue, I think. I filed a bug report > against SOAP::Lite here: > > http://rt.cpan.org/Ticket/Display.html?id=35041 > > I'm not sure if that's correct, but in the meantime, at least, this > workaround should fix the issue: > > --- lib/Bric/SOAP/Handler.pm (revision 8046) > +++ lib/Bric/SOAP/Handler.pm (working copy) > @@ -137,6 +137,22 @@ > } > } > > +#if ( Bric::Config::ENCODE_OK && $SOAP::Lite::VERSION le > '0.71.02' ) { > +if ( Bric::Config::ENCODE_OK ) { > + # XXX Change the version number above as appropriate in > response to the > + # resolution of http://rt.cpan.org/Ticket/Display.html?id=35041. > + package SOAP::Serializer; > + no warnings 'redefine'; > + eval q{ > + my $xmlize = \&xmlize; > + *xmlize = sub { > + my $ret = $xmlize->(@_); > + Encode::_utf8_off($ret) if Encode::is_utf8($ret); > + return $ret; > + } > + }; > +} > + > my $commit = 1; > > # dispatch to $SERVER->handler() > > BTW, the version of SOAP::Lite I have is also 0.71. This seems to be > an "unofficial release." Anyone know what's up with maintainership > of that module? > > Best, > > David
|