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

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



Ping the hose name from the command line.  And double check it's right.  Then double check the DNS servers listed in CFGTCP option 12.



On Fri, Sep 25, 2020 at 9:47 AM she lumbera <she_lumbera@xxxxxxxxx> wrote:
Hello,

I hope anyone can help me.

We have been accessing 2 URLs using HTTPAPI. We are getting successful message from the first URL but are getting Error #2 on the 2nd. I have been reading similar issues in the archive and one of which is pointing to the DNS resolver. In my case, it couldn't be the cause as we are using the same machine. Can anyone give me an idea what to look for or to check to solve the issue?

URL1 log
======
2020-09-25-15.11.00.233000: http_persist_open(): entered                 
2020-09-25-15.11.00.244000: http_long_ParseURL(): entered                
2020-09-25-15.11.00.253000: DNS resolver retrans: 2                      
2020-09-25-15.11.00.253000: DNS resolver retry  : 2                      
2020-09-25-15.11.00.253000: DNS resolver options: x'00000136'            
2020-09-25-15.11.00.257000: DNS default domain: XXXX.XX              
2020-09-25-15.11.00.258000: DNS server found: XXX.XX.XXX.X               
2020-09-25-15.11.00.258000: DNS server found: XXX.XX.XXX.X            
2020-09-25-15.11.00.320000: Nagle's algorithm (TCP_NODELAY) disabled.    
2020-09-25-15.11.00.781000: SetError() £13: HTTP/1.1 201 Created 
2020-09-25-15.11.00.781000: http_close(): entered                


URL2 log
=======
2020-09-25-15.25.49.562000: http_persist_open(): entered             
2020-09-25-15.25.49.569000: http_long_ParseURL(): entered            
2020-09-25-15.25.49.569000: DNS resolver retrans: 2                  
2020-09-25-15.25.49.569000: DNS resolver retry  : 2                  
2020-09-25-15.25.49.569000: DNS resolver options: x'00000136'        
2020-09-25-15.25.49.569000: DNS default domain: XXXX.XX           
2020-09-25-15.25.49.569000: DNS server found: XXX.XX.XXX.X           
2020-09-25-15.25.49.569000: DNS server found: XXX.XX.XXX.X          
2020-09-25-15.25.49.569000: SetError() #2: Host name look up failed. 
2020-09-25-15.25.49.569000: http_close(): entered                    

--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi