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

RE: HTTP/1.1 412 Precondition Failed



If you share the debug log, it would be easy to see what is actually happening.

Check CFGTCP - Work with TCP/IP routes. There should be entry similar to this:
*DFTROUTE        *NONE            172.22.0.254     *NONE   

The IP address should be the same the default gateway on your PC when you do ipconfig.

This shouldn't be a problem if you can ping outside servers from the as400. "Ping yahoo.com" Does it work?                                               

However, if you are not getting a route. Try tracing it:
 Trace TCP/IP Route (TRCTCPRTE) 


> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Versfelt, Charles
> Sent: Thursday, February 25, 2010 8:17 AM
> To: 'ftpapi@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: RE: HTTP/1.1 412 Precondition Failed
> 
> 
> Hi,
> 
> I coded for and found the debug log.
> The problem seems to be:
> 
> SetError() #6: connect(): A route to the remote host is not available.
> 
> Charlie
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> 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
-----------------------------------------------------------------------