Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

bric_soap problem: TRANSPORT ERROR: 500

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


arnold at webit

Apr 10, 2008, 5:49 AM

Post #1 of 8 (385 views)
Permalink
bric_soap problem: TRANSPORT ERROR: 500

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 361\n

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


david at kineticode

Apr 10, 2008, 1:08 PM

Post #2 of 8 (361 views)
Permalink
Re: bric_soap problem: TRANSPORT ERROR: 500 [In reply to]

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 361\n
>
> 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


arnold at webit

Apr 11, 2008, 3:47 AM

Post #3 of 8 (353 views)
Permalink
Re: bric_soap problem: TRANSPORT ERROR: 500 [In reply to]

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 361\n
> >
> > 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
>
>


david at kineticode

Apr 11, 2008, 9:35 AM

Post #4 of 8 (354 views)
Permalink
Re: bric_soap problem: TRANSPORT ERROR: 500 [In reply to]

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


bharder at methodlogic

Apr 11, 2008, 10:37 AM

Post #5 of 8 (356 views)
Permalink
Re: bric_soap problem: TRANSPORT ERROR: 500 [In reply to]

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


greg at node79

Apr 11, 2008, 10:48 AM

Post #6 of 8 (353 views)
Permalink
Re: bric_soap problem: TRANSPORT ERROR: 500 [In reply to]

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


david at kineticode

Apr 11, 2008, 11:49 AM

Post #7 of 8 (354 views)
Permalink
Re: bric_soap problem: TRANSPORT ERROR: 500 [In reply to]

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-perl[at]rt.cpan.org
.

Best,

David


lannings at who

Apr 11, 2008, 12:14 PM

Post #8 of 8 (354 views)
Permalink
RE: bric_soap problem: TRANSPORT ERROR: 500 [In reply to]

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

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.