[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: WEATHER example using HTTPAPI
Using the IP address does appear to have fixed the problem. Thanks
for the response.
From: "Peter Connell" <Peter.Connell@xxxxxxxxxxxxxxxxx>
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Date: 02/18/2009 11:22 AM
Subject: RE: WEATHER example using HTTPAPI
Sent by: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
_________________________________________________________________
Yep, I experienced the same symptom a while back, so I tend to use IP
addresses since the host domains for these connections are unlikely to
change.
This may not be an HTTPAPI thing since the API correctly finds the
local
DNS as a means of resolving the IP address.
I recall our Ops dept mentioning using a totally unrelated tool that
showed exactly the same behaviour you mention.
Peter
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[[1]mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
MKirkpatrick@xxxxxxxxxxxxxxxxx
Sent: Thursday, 19 February 2009 7:44 a.m.
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: WEATHER example using HTTPAPI
I have been using the example created by Scott to display the weather
forecast on my signon screen. This has worked great up until a few
days
ago. I have always run the pgm in batch every morning. Now, it ends
abnormally with the following message: Host name look up failed.
If I run it interactively, the first time it fails with the same
error.
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V6R1M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819.
ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: WDS
DNS server found: 10.0.10.3
SetError() #2: Host name look up failed.
Running it again immediately, it works with no problems. Sometimes,
when I run it a third time I get the same error above. There does not
seem to be any consistency.
Another time, I log in, run the pgm interactively and it works fine.
Immediately run it again, it ends with the same error above.
Running IBM i 6.1 with latest cume and groups.
Has anyone seen this?
Thanks.
######################################################################
###############
This correspondence is for the named person's use only. It may contain
confidential or legally privileged information, or both. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this correspondence in error, please immediately delete
it from your system and notify the sender. You must not disclose, copy
or rely on any part of this correspondence if you are not the intended
recipient. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with
authority, states them to be the views of Veda Advantage. If you need
assistance, please contact Veda Advantage on either :- Australia
133124 or New Zealand +64 9 367 6200
----------------------------------------------------------------------
-
This is the FTPAPI mailing list. To unsubscribe, please go to:
[2]http://www.scottklement.com/mailman/listinfo/ftpapi
----------------------------------------------------------------------
-
References
1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
2. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------