On 170111-22:57-0500, Walter Dnes wrote: > I'm trying to pull down a text file with a script. A web browser works > fine, but wget dies as follows... > At first I thought I had the same issue (will tell why further below). But I didn't have an issue with this download:
> wget 'https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt' > > Resolving data.giss.nasa.gov... 128.183.4.33 > Connecting to data.giss.nasa.gov|128.183.4.33|:443... connected. > OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert > handshake failure > Unable to establish SSL connection. I had a normal output instead: $ wget 'https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt' --2017-01-12 06:45:19-- https://data.giss.nasa.gov/gistemp/tabledata_v3/GLB.Ts+dSST.txt Resolving data.giss.nasa.gov... 128.183.4.33 Connecting to data.giss.nasa.gov|128.183.4.33|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 15883 (16K) [text/plain] Saving to: ‘GLB.Ts+dSST.txt’ GLB.Ts+dSST.txt 100%[===================================>] 15.51K --.-KB/s in 0.1s 2017-01-12 06:45:20 (119 KB/s) - ‘GLB.Ts+dSST.txt’ saved [15883/15883] $ And the download is correct, the same as with Palemoon. I do have the same wget-1.18 installed as below: > Output from "emerge -pv wget" is... > > Calculating dependencies... done! > [ebuild R ] net-misc/wget-1.18::gentoo USE="pcre ssl zlib -debug > -gnutls -idn -ipv6 (-libressl) -nls -ntlm -static {-test} -uuid" 0 KiB > > The URL has recently changed from "http" to "https", which is when > the problem showed up. I repeat, web browser works fine but wget dies. The story about SSL is a good one, however. The network might by and large be getting all the more decryptable for users, have a look at: Write TLS session keys to $SSLKEYLOGFILE https://github.com/rg3/youtube-dl/issues/11614 and: SSL-key logging with Wget http://www.croatiafidelis.hr/foss/cap/cap-170105_wget-ssl/ ( Just imaging if youtube-dl soon starts decrypting Schmoog the Schmoogle!? That'd be sooo great! If only! And the spies won't be able to hide to whoever they want! ) But I'm really writing this for problems with downloading with wget elsewhere, other files, pls. have a look at this that I just posted: < title pending, busy elsewhere > http://www.croatiafidelis.hr/foss/cap/cap-170112_wget-ssl/ where, at this time only the screenshots and the traces tell the story, no time to post text there yet. But in short, I couldn't download this gzip archive: https://www.redhat.com/archives/virt-tools-list/2017-January.txt.gz with wget, but could with Palemoon browser. In fact it downloads with Wget, and it has the right size, but it doesn't have the magic number (0x1FB808) at start and it doesn't gunzip... File a bug? To: http://lists.gnu.org/mailman/listinfo/bug-wget I'm unsure... As I have other issues that might be interfering... Tried to subscribed though, just in case, but have issues... But no time... Regards! -- Miroslav Rovis Zagreb, Croatia http://www.CroatiaFidelis.hr
signature.asc
Description: Digital signature