|
|
|
Rank: Starting Member
Groups: Registered
Joined: 8/21/2004 Posts: 7 Location: ,
|
We're using PDT. Normally everything works like a charm. But twice in the last 24 hours, when we sent our POST request to https://www.paypal.com/cgi-bin/webscr just as we always do, the PayPal website responded with a "500 Internal Server Error".
Is this a technical problem that PayPal is aware of and is working on?
Is there something that we could be doing differently to avoid these errors?
Thanks in advance for any suggestions.
Here is a copy of what the PayPal server sends back to our script:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
webmaster@paypal.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
<P>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
<HR>
<ADDRESS>Apache/1.3.27 Server at <A HREF="mailto:webmaster@paypal.com">www.paypal.com</A> Port 443</ADDRESS>
</BODY></HTML>
|
|
|
|
|
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,961 Location: ,
|
I'm not sure why you would be seeing that error. Are you able to perform the post now? Does it still give an error? Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 8/21/2004 Posts: 7 Location: ,
|
> Are you able to perform the post now? Does it still give an error?
The error happened three times, once on Aug. 20 and twice on Aug. 21. There were many other transactions interspersed with these that worked fine, and we've had many since then too. So the errors were just occasional.
After we got those three errors on Aug. 20-21, I modified our script so that if we get such an error, we now wait a few seconds and try the POST request again, up to 4 times. I haven't seen any such errors since putting this change into effect, but that could be because the retries are working. (I'm not logging an error unless all four tries fail.)
So this kludge appears to be working, at least so far, but it _is_ a kludge. Without knowing the cause of the problem, it's hard to have any real confidence in this solution. It would be nice to fix whatever is actually causing the occasional errors in the first place.
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,961 Location: ,
|
I'm checking with our engineers on when this error would arise. Typically our system would throw a custom error page, not the standard Apache error page. The only thing I can think of is that there was scheduled maintenance at the time (because we display a static HTML page during down-time) but I don't believe we had maintenance during the times you indicate. You're right that it sounds like your solution is a kludge and shouldn't be the case. There of course could be occassions when our system would return an error but this is usually quite remote and in those cases, the errors would likely be preventing payments in the first place. Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 8/21/2004 Posts: 7 Location: ,
|
Thanks, Patrick.
If it helps, the three times it occurred were:
Fri, 20 Aug 2004 15:08:26 Sat, 21 Aug 2004 08:19:07 Sat, 21 Aug 2004 14:11:56 (All Pacific Daylight Time)
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.386 seconds.