--Hi David,
You have http_debug turned on. When you ran this, it should've created a file named /tmp/httpapi_debug.txt in your IFS. Can you please send that file? That will help us understand what is happening.
Thanks!
-SK
On 11/20/2020 2:15 PM, David Hanneman wrote:
LIBHTTP release 1.23Looking for some help with this error message: "SetError() #2: Host name look up failed'
The DNS answer a ping and returns the correct IP.
The trace is not showing any activity going to the destination.
I am using http_url_post_raw. I cloned EXAMPLE05 and tweaked the PARMS to it look like this:
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
HTTPAPI Ver 1.23 released 2008-04-24 OS/400 Ver V7R3M0 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: RRD.COM DNS server found: 10.79.131.126 DNS server found: 172.24.8.126 DNS server found: 172.24.14.21 SetError() #2: Host name look up failed.
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi