cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: lynx OK, http_post OK, cURL can't resolve (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 31 Jul 2002 10:47:11 +0200 (MET DST)

Forwaring your mail to the libcurl mailing list.

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
---------- Forwarded message ----------
Date: Tue, 30 Jul 2002 11:00:11 -0500
From: Ray DeGennaro at Eaglerock IS <ray.degennaro_at_eriscorp.com>
To: Daniel Stenberg <daniel_at_haxx.se>
Subject: Re: lynx OK, http_post OK, cURL can't resolve
>On Fri, 26 Jul 2002, Ray DeGennaro at Eaglerock IS wrote:
>
>>I have a machine that I get Error #6 "Couldn't resolve host" errors
>>when I try to connect using cURL; however, I have no troubles
>>connecting with lynx or another *nix posting program called
>>"http_post".  I can also connect to the "problem" machine using any
>>web browser on my local desktop Mac.
>
>OS? curl version? command line?
OS: from $ uname -a:
	HP-UX spanky B.10.20 B 9000/821 2015025534 16-user license
cURL:  from curl --version
curl 7.9.6 (hppa1.1-hp-hpux10.20) libcurl 7.9.6 (OpenSSL 0.9.6c)
Command lines:
1) curl http://slicetest.power.bpa.gov
2) lynx http://slicetest.power.bpa.gov
3) http_post http://slicetest.power.bpa.gov
cURL returns a "Can't resolve" error, the other two return HTML.
>Other details that might be interesting?
The only other bit of info that I can see as being useful is that if
I do a traceroute from "spanky" to "slicetest", it can't get past the
host 216.64.144.86.  This is because the security rules don't allow
ping sweeps.  The appearance that cURL is being blocked by a security
rule that prevents ping sweeps, while lynx and http_post aren't (to
me) makes the problem more baffling.
>Curl does nothing particularly magic when it attempts to resolve
>names, it uses the normal (thread-safe if available) resolve
>functions.
True, but it is doing something different.
Ray
-- 
.=================================================================.
| =-=-=-=-=-=-= Eagle Rock Information Systems Corp =-=-=-=-=-=-= |
| -=-=-=-=-=-=- web and database business solutions -=-=-=-=-=-=- |
|   <http://www.eriscorp.com>        <mailto:info@eriscorp.com>   |
|Midwest Regional Office: 815-547-0662 (voice) 503-905-8153 (eFax)|
.=================================================================.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Received on 2002-07-31