cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: strange "Couldn't resolve host" error

From: Kjetil Jacobsen <kjetilja_at_cs.uit.no>
Date: 06 Jan 2003 12:34:37 +0100

On Mon, 2003-01-06 at 12:14, Daniel Stenberg wrote:
> 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?

not sure about this one. i need some more information (which options
are set and so on). obviously, the best would be code which reproduces
the problem.

also, there has been some bugfixes in the curl/pycurl releases following
7.9.8.4 which might fix the problem.

regards,

        - kjetil

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-01-06