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

Re: HTTPAPI Errors



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>

I downloaded , installed and tried the examples of HTTPAPI. When I Ran EXAMPLE18 , the HTTP_URL_POST_XML Returns(-1) stating "Host not found"
I have my HTTP server ADMIN instances running. what can be the issue ?

It's attempting to do a DNS lookup for the host name that you provided in your URL. It's not able to find the host.


Is DNS configured properly on your system?

Have you double-checked that you spelled the host name correctly in the URL?

This has nothing whatsoever to do with your iSeries HTTP server or it's admin instance. There's absolutely no relationship between those and HTTPAPI.


Input: Our AS400 is connected to a LAN and the LAN is inside a firewall and we have a proxy server and port configured for getting to internet, will it impact. If so what should I do to get this fixed.

I know that there are people who have worked on proxy support in the past, but as far as I know, nobody has implemented it. For certain, nobody has contributed changes back to the project to allow proxy support.


So, at least for the time being, HTTPAPI doesn't work with proxies. You need a direct internet connection, or you'll need to modify HTTPAPI to make it work.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------