[ic] Payment Module 500 Error

Chris Ochs chris at paymentonline.com
Sat Jan 17 14:57:50 EST 2004

This sounds a lot like the problem I am having with our own payment module.
If you modify the boa module to log the actual response LWP is returning,
I'll bet it will say 500 read timeout.  On my system it returns this in 1-3
seconds.   What I think it happening is that the LWP is aborting prematurely
upon catching some signal that it shouldnt' be.

Also, in rpc mode this doesn't happen to me, just in low or high traffic
modes.  You might try running in rpc mode just to see if the problem goes
away.  If it does, then at least we would have more evidence that the
problem isn't just something on our individual systems, but will probably
effect a lot of people.  I think more people haven't reported this because a
lot of production systems probably haven't upgraded recently.

I am not sure this is an interchange bug per say.  An older install of
interchange I have on the same OS and perl version works fine, the
difference is that several of the perl modules are a newer version.  This
might very well be a bug in LWP or it's dependencies that cropped up just


----- Original Message ----- 
From: "Matt Johnston" <matt at thebackpacker.com>
To: <interchange-users at icdevgroup.org>
Sent: Saturday, January 17, 2004 9:39 AM
Subject: [ic] Payment Module 500 Error

> I am using the BoA payment module for Interchange 4.9.9 and I am
> getting errors where Interchange thinks that the payment module has erred
> but BoA has completed the transaction.  A good percentage of the time
> (close to 50%) when I post a transaction to BoA I get a "500 (Internal
> Server Error) read failed" error.  I have contacted BoA about this error
> and they say that it is on my side.  I am not very well versed in perl, so
> I am having a hard time tracking this down.  The BoA support said to check
> for a timeout setting (BoA uses 120 seconds) and to make sure that the
> KeepAlive header is not present.  I have searched the code to the best of
> my ability but cannot find any references to these in Interchange.
> This led me to believe it may be some version of a program on my server
> that is causing some problems.  Here is my setup:
> RedHat 8
> perl 5.8 installed using sources and the instructions on icdevgroup
> openssl 0.9.6b-33 from RedHat rpm
> Crypt:SSLeay 0.51 from sources
> LWP:UserAgent 2.24 from sources
> apache 2.0.47 from sources
> Dual Pentium Processor
> Can anyone think of something that may be causing this problem?
> Matt Johnston
> http://www.lattaoutdoors.com
> http://www.thebackpacker.com
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users

More information about the interchange-users mailing list