Sacha Mallais wrote:
> 
> I'm having some problems with wget and SSL.  I have been getting the
> following output on occasion (meaning, the exact same command works
> sometimes and sometimes produces this), even when everything else (my web
> browser, etc) is able to connect with no problem:
> 
> ------------------------------
> DEBUG output created by Wget 1.8.1 on aix4.1.5.0.
> 
> --14:30:01--  https://tpurs.oda.state.or.us/
>            => `/tmp/tPURS-apache-AYA-wget.output'
> Resolving tpurs.oda.state.or.us... done.
> Caching tpurs.oda.state.or.us => 192.152.7.27
> Connecting to tpurs.oda.state.or.us[192.152.7.27]:443... connected.
> Created socket 5.
> Releasing 20026168 (new refcount 1).
> 
> Unable to establish SSL connection.
> Closing fd 5
> 
> Unable to establish SSL connection.
> ------------------------------
> 
No problem here but then it's only version 1.7.1

$ wget -d https://tpurs.oda.state.or.us/
DEBUG output created by Wget 1.7.1 on cygwin.

parseurl ("https://tpurs.oda.state.or.us/";) -> host
tpurs.oda.state.or.us -> opath  -> dir  -> file  -> ndir 
newpath: /
--23:50:07--  https://tpurs.oda.state.or.us/
           => `index.html'
Connecting to tpurs.oda.state.or.us:443... Caching tpurs.oda.state.or.us
<-> 192.152.7.27
Created fd 3.
connected!
---request begin---
GET / HTTP/1.0
User-Agent: Wget/1.7.1
Host: tpurs.oda.state.or.us
Accept: */*
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... HTTP/1.1 200 OK
Date: Wed, 23 Jan 2002 22:50:29 GMT
Server: Apache/1.3.22 (Darwin) mod_ssl/2.8.5 OpenSSL/0.9.6b
Cache-Control: max-age=60
Expires: Wed, 23 Jan 2002 22:51:29 GMT
Last-Modified: Sat, 12 Jan 2002 00:30:02 GMT
ETag: "d78f1-100-3c3f838a"
Accept-Ranges: bytes
Content-Length: 256
Keep-Alive: timeout=15, max=500
Connection: Keep-Alive
Content-Type: text/html


Found tpurs.oda.state.or.us in host_name_address_map: 192.152.7.27
Registered fd 3 for persistent reuse.
Length: 256 [text/html]

    0K                                                       100% @
250.00 KB/s

23:50:09 (250.00 KB/s) - `index.html' saved [256/256]

> Also note the it does _not_ appear to be retrying the connection.  I have
> explicitly set --tries=5, and with a non-ssl connection, the above stuff
> appears 5 times when it cannot connect.  But, for SSL stuff, one failure
> kills the process.
> 
> If there is any other info I can give you, let me know.

You have already done the exceptional: providing debug output !
> 
> sacha
> 
> --
> Sacha Michel Mallais                                   [EMAIL PROTECTED]
> Global Village Consulting Inc.              http://www.global-village.net/sacha
> Things won are done; joy's soul lies in the doing.
> -- William Shakespeare, Troilus and Cressida, Act 1, Scene 2

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn

Reply via email to