List Info

Thread: bric_soap problem: TRANSPORT ERROR: 500




bric_soap problem: TRANSPORT ERROR: 500
user name
2008-04-10 07:49:20
hi,

i have a problem using bric_soap the following script
produce an error:

# export BRICOLAGE_SERVER="$IP"
# export BRICOLAGE_USERNAME="$USERNAME"
# export BRICOLAGE_PASSWORD="$PASSWORD"

# bric_soap media list_ids
TRANSPORT ERROR: 500 Server closed connection without
sending any data
back
Check the Apache error log for more information.

in Apache error log:
[Thu Apr 10 12:43:10 2008] [error] Error executing SOAP
command:
HTTP::Message content not bytes
at /usr/share/perl5/SOAP/Transport/HTTP.pm line 361n

i'm using the new version of bricolage (1.10.4 - installed
yesterday)
and dumped a whole project into the new version,

all things are fine except the soap interface

has anyone a solution for this problem

thank you very much

maik





Re: bric_soap problem: TRANSPORT ERROR: 500
user name
2008-04-10 15:08:26
On Apr 10, 2008, at 05:49, Maik Arnold wrote:

> in Apache error log:
> [Thu Apr 10 12:43:10 2008] [error] Error executing SOAP
command:
> HTTP::Message content not bytes
> at /usr/share/perl5/SOAP/Transport/HTTP.pm line 361n
>
> i'm using the new version of bricolage (1.10.4 -
installed yesterday)
> and dumped a whole project into the new version,
>
> all things are fine except the soap interface
>
> has anyone a solution for this problem

Not that I know of. What version of SOAP::Lite are you
using?  
Something with it might have changed on us…

Best,

David


RE: bric_soap problem: TRANSPORT ERROR: 500 -- solution
user name
2008-04-12 09:02:29
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...

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 
>      }
>      {
> +        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:gregnode79.com]
> Sent: Fri 4/11/2008 7:48 PM
> To: userslists.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
> gregnode79.com
> 416.826.7630


Re: bric_soap problem: TRANSPORT ERROR: 500
user name
2008-04-11 13:49:55
On Apr 11, 2008, at 10:48, Greg Heo wrote:

> 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.

I suggest that you submit a bug report for LWP to
bug-libwww-perlrt.cpan.org 
.

Best,

David


RE: bric_soap problem: TRANSPORT ERROR: 500
user name
2008-04-11 14:14:40
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 
     }
     {
+        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:gregnode79.com]
Sent: Fri 4/11/2008 7:48 PM
To: userslists.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
gregnode79.com
416.826.7630

Re: bric_soap problem: TRANSPORT ERROR: 500
user name
2008-04-11 05:47:41
SOAP::Lite is in version 0.71, think is the newest version

Am Donnerstag, den 10.04.2008, 13:08 -0700 schrieb David E.
Wheeler:
> On Apr 10, 2008, at 05:49, Maik Arnold wrote:
> 
> > in Apache error log:
> > [Thu Apr 10 12:43:10 2008] [error] Error executing
SOAP command:
> > HTTP::Message content not bytes
> > at /usr/share/perl5/SOAP/Transport/HTTP.pm line
361n
> >
> > i'm using the new version of bricolage (1.10.4 -
installed yesterday)
> > and dumped a whole project into the new version,
> >
> > all things are fine except the soap interface
> >
> > has anyone a solution for this problem
> 
> Not that I know of. What version of SOAP::Lite are you
using?  
> Something with it might have changed on us…
> 
> Best,
> 
> David
> 
> 


Re: bric_soap problem: TRANSPORT ERROR: 500 -- solution
user name
2008-04-12 11:44:21
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?

> 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 
> >      }
> >      {
> > +        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:gregnode79.com]
> > Sent: Fri 4/11/2008 7:48 PM
> > To: userslists.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
> > gregnode79.com
> > 416.826.7630
> 

-- 

Brad Harder,
Method Digital Logic
http://www.methodlogic.net


Re: bric_soap problem: TRANSPORT ERROR: 500
user name
2008-04-11 12:37:48
On Fri, Apr 11, 2008 at 09:35:23AM -0700, 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?

0.69 here...

> D

-- 

Brad Harder,
Method Digital Logic
http://www.methodlogic.net


Re: bric_soap problem: TRANSPORT ERROR: 500
user name
2008-04-11 12:48:21
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
gregnode79.com
416.826.7630




Re: bric_soap problem: TRANSPORT ERROR: 500 -- solution
user name
2008-04-12 18:32:11
On Apr 12, 2008, at 07:02, Maik Arnold wrote:

> 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...

Sounds like there's a bug somewhere…

D
[1-10] [11-14]

about | contact  Other archives ( Real Estate discussion Medical topics )