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

Re: HTTP/1.1 500 Internal Server Error



Hello Francois,

Is your iSeries DNS resolver (not to be confused with the DNS 
server) configured for lookups of Internet hostnames?

The DNS resolver is a component of the operating system that converts a 
name (like "www.scottklement.com") to an IP address (like 192.168.0.1). 
This is needed to make HTTPAPI work.

AS a test, try this:

PING 'www.yahoo.com'

It doesn't matter if you get responses from Yahoo -- what's important is 
to see if it's able to convert the name into an address.

Similarly, try a few more hosts such as

PING 'www.google.com'

PING 'www.ibm.com'

If it's not able to convert those names into IP addresses, then you don't 
have the DNS resolver set up properly.  Usually a company will have a DNS 
server running on their network, it might be on an iSeries, or it might be 
on a Windows or Unix/Linux computer...  doesn't matter, as long as you 
have one (or more) of them.

Then configure your iSeries to use that DNS server using the CHGTCPDMN 
command.

If you don't have one running on your LAN, there should be some that are 
provided by your ISP. Either way, you'd be able to look up hosts, which is 
necessary to access Internet sites from your iSeries system.

www.easy400.net has a tutorial for how to set up your iSeries to access 
the Internet.  I haven't used it personally, but if you have a hard time 
following the instructions in the Information Center, it's another option:
http://www.easy400.net/tcpcfgs

-- 
Scott Klement  http://www.scottklement.com

On Wed, 16 Aug 2006, Van Wyk, Francois wrote:

> Hi Scott
>
>
>
> I am a total newbie to the HTTP API and would like some pointers from you if
> possible. I am trying to get my head into calling web services from an RPG
> program, so I am trying your EXAMPLE18 program. With the code as is I
> received a "Host not found" error message. However, when I change the code
> to use the actual IP address I receive the HTTP/1.1 500 Internal Server
> Error.
>
>
>
> I am leaning towards thinking that it could be an i5 configuration issue.
> Any idea what I should be looking for?
>
>
>
> Thanks
>
>
>
> Francois
>
>
>
> Francois van Wyk
> Ngenius Software Engineer
> Business Technology Solutions
> Jacksonville, FL
> Nelnet
> 904.281.1746
> Fax 904.281.4388
> <mailto:francois.vanwyk@xxxxxxxxxx> francois.vanwyk@xxxxxxxxxx
> <http://www.nelnet.net> www.nelnet.net
>
>
>
>
>
> ------------------------------------------------------------
> The information contained in this message is confidential
> proprietary property of Nelnet, Inc. and its affiliated
> companies (Nelnet) and is intended for the recipient only.
> Any reproduction, forwarding, or copying without the express
> permission of Nelnet is strictly prohibited. If you have
> received this communication in error, please notify us
> immediately by replying to this e-mail.
> ------------------------------------------------------------
>
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------