[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] [EXTERNAL] Re: SetError() #2: Host name look up failed



You should also clarify where you pinged the host (from the same IBM i, your pc, etc).  The ONLY time I've seen this error in my software is when the DNS servers in CFGTCP option 12 aren't set up, or aren't correct.

On Wed, Nov 25, 2020 at 11:13 AM David Hanneman <dave.c.hanneman@xxxxxxx> wrote:
I have 1.42 available, 1.23 is our current production version. I will recompile and try that.

On Wed, Nov 25, 2020 at 8:48 AM Brad Stone <bvstone@xxxxxxxxx> wrote:
You're probably going to want to update HTTPAPI first.  Looks to be over 12 years old.

On Tue, Nov 24, 2020 at 6:57 PM David Hanneman <dave.c.hanneman@xxxxxxx> wrote:
Here you go.

On Fri, Nov 20, 2020 at 8:33 PM Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:

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.23
Looking 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
--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi