The problem is not on your end. The problem is at the server you're
going to. Your program needs to monitor for the 503 coming back from the
server and retry after a little delay. The Japanese central bank has
intevened in the FX market today and there has been lots of activity in
FX the last couple weeks as everyone anticipated it. I think the Chinese
are messing around as well, but nothing confirms that suspicion. All
that has probably generated a lot of activity on the FX server you're
trying to us. I can't tell the server from your trace (but it is
Microsoft IIS using ASP.NET). I'd probably program to retry five or six
times and then return a message somehow that the FX server was
unavailable.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill
Sent: Wednesday, September 15, 2010 10:47 AM
To: midrange-l@xxxxxxxxxxxx
Subject: HTTP 503 Service Unavailable - Server is too Busy
We've been running Scott Klement's HTTP utility to grab currency
conversion data for a couple of months now. It had been working fine
but in the last few weeks, we've been getting errors. This is a V5R2
machine and as far as I know we're not using any other HTTP services.
Problem happened yesterday, I checked then deleted the debug file, reran
the program and it worked fine. Today, tried same thing, still an
error.
Anyone have any ideas?
Bill
This is what is in the debug file:
recvresp(): entered
HTTP/1.1 100 Continue
SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<?xml version="1.0" encoding="iso-8859-1"
standalone="no"?><SOAP:Envelope
xmlns:SOAP="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="
http://www.webserviceX.NET/"><SOAP:Body>
<tns:ConversionRate> <tns:FromCurrency>USD</tns:FromCurrency>
<tns:ToCurrency>AUD</tns:ToCurrency>
</tns:ConversionRate></SOAP:Body></SOAP:Envelope>
recvresp(): entered
HTTP/1.1 503 Service Unavailable
Connection: close
Date: Wed, 15 Sep 2010 15:31:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Type: text/html
SetError() #13: HTTP/1.1 503 Service Unavailable recvdoc parms: identity
0
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<html><body><h1>Server is too busy</h1></body></html>
SetError() #13: HTTP/1.1 503 Service Unavailable
http_close(): entered
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.