
arnold at webit
Apr 14, 2008, 1:31 AM
Post #4 of 6
(289 views)
Permalink
|
|
Re: bric_soap problem: TRANSPORT ERROR: 500 -- solution
[In reply to]
|
|
Am Samstag, den 12.04.2008, 09:44 -0700 schrieb bharder: > On Sat, Apr 12, 2008 at 04:02:29PM +0200, Maik Arnold wrote: > > thx for all ... > > > > got an solution for the problem: > > > > my working (or better not working )version of LWP was 5.810, > > i downgraded that module to version 5.808 via cpan like: > > cpan G/GA/GAAS/libwww-perl-5.808.tar.gz > > and after that my bric_soap is working > > > > dont know what they did wrong in version 5.810... > > 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 > > maik > > > > Am Freitag, den 11.04.2008, 21:14 +0200 schrieb Lanning, Scott: > > > The first one isn't an error per se, but a warning. > > > I think I submitted a patch for it to RT for SOAP::Lite: > > > > > > --- SOAP/Transport/HTTP.pm~ 2008-04-11 21:16:10.000000000 +0200 > > > +++ SOAP/Transport/HTTP.pm 2008-03-05 15:02:55.000000000 +0100 > > > @@ -37,9 +37,11 @@ > > > return if $_patched; > > > BEGIN { local ($^W) = 0; } > > > { > > > + no warnings 'redefine'; > > > sub LWP::UserAgent::redirect_ok; *LWP::UserAgent::redirect_ok = sub {1} > > > } > > > { > > > + no warnings 'redefine'; > > > package LWP::Protocol; > > > my $collect = \&collect; # store original > > > *collect = sub { > > > > > > though it doesn't address the underlying issue > > > of "monkeypatching" LWP::UserAgent. > > > > > > > > > -----Original Message----- > > > From: Greg Heo [mailto:greg[at]node79.com] > > > Sent: Fri 4/11/2008 7:48 PM > > > To: users[at]lists.bricolage.cc > > > Subject: Re: bric_soap problem: TRANSPORT ERROR: 500 > > > > > > I'm running SOAP::Lite 0.71 on a 1.10.3 installation on FreeBSD 6.2. > > > list_ids works, but throws a few warnings: > > > > > > $ bric_soap story list_ids > > > Subroutine LWP::UserAgent::redirect_ok redefined at /usr/local/lib/ > > > perl5/site_perl/5.8.8/SOAP/Transport/HTTP.pm line 41. > > > Subroutine LWP::Protocol::collect redefined at /usr/local/lib/perl5/ > > > site_perl/5.8.8/SOAP/Transport/HTTP.pm line 59. > > > story_1024 > > > story_1025 > > > story_1026 > > > story_1030 > > > > > > I tried bringing LWP::UserAgent up to the most recent version, and now > > > it's worse: > > > Subroutine LWP::UserAgent::redirect_ok redefined at /usr/local/lib/ > > > perl5/site_perl/5.8.8/SOAP/Transport/HTTP.pm line 41. > > > Subroutine LWP::Protocol::collect redefined at /usr/local/lib/perl5/ > > > site_perl/5.8.8/SOAP/Transport/HTTP.pm line 59. > > > TRANSPORT ERROR: 500 Server closed connection without sending any data > > > back > > > Check the Apache error log for more information. > > > > > > My OS X Bricolage installation with SOAP::Lite 0.69 works just fine > > > though. > > > > > > > > > On 11-Apr-08, at 12:35 PM, David E. Wheeler wrote: > > > > On Apr 11, 2008, at 03:47, Maik Arnold wrote: > > > > > > > >> SOAP::Lite is in version 0.71, think is the newest version > > > > > > > > Something may well have changed, then. Anyone else running that > > > > version without trouble? > > > > > > > > D > > > > > > --- > > > Greg Heo > > > web/software systems developer > > > greg[at]node79.com > > > 416.826.7630 > > >
|