cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: strange "Couldn't resolve host" error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Jan 2003 12:14:57 +0100 (MET)

On Tue, 31 Dec 2002, Michael McFarland wrote:

> I have a program written using pycurl which is consistently producing
> what seems like an unusual error. When accessing a particular URL of the
> form 'https://12.34.56.7/xyz', I get a curl exception #6: "Couldn't
> resolve host 'www2.foo.net'".
>
> It seems unusual to me that there would be a DNS issue when I'm
> accessing the site by IP. Anyone have a spare clue on what could be
> happening? I'm using libcurl 7.9.8 w/ SSL and pycurl 7.9.8.4 on a redhat
> 7.3 system.

This looks like a bug somewhere, yes.

Is there any particular reason why you don't run the latest version of the
tools? It might be a good start to see if this is already fixed.

I suspect that this problem is in the Pycurl code.

Any clues Kjetil?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-01-06