ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
21.16k stars 1.41k forks source link

wget@1.20.3: "Disabling SSL due to encountered errors" on https URLs #3331

Closed sdellenb closed 5 years ago

sdellenb commented 5 years ago

wget version 1.20.3 aborts downloads Disabling SSL due to encountered errors. on my machine.

λ wget -d https://google.com
DEBUG output created by Wget 1.20.3 on mingw32.

Reading HSTS entries from C:\Users\simon/.wget-hsts
URI encoding = 'CP1252'
iconv UTF-8 -> CP1252
iconv outlen=36 inlen=18
converted 'https://google.com' (CP1252) -> 'https://google.com' (UTF-8)
Converted file name 'index.html' (UTF-8) -> 'index.html' (CP1252)
--2019-04-17 21:18:49--  https://google.com/
Disabling SSL due to encountered errors.

Anyone else getting this? I've tried updating openssl to 1.1.1b (from the old 1.1.1a I had from the git-with-openssh package), but that didn't help.

Reverting to the previous wget-1.20 (with path https://eternallybored.org/misc/wget/releases/old/wget-1.20-win64.zip) resolved the issue.

Version info

λ wget -V
GNU Wget 1.20.3 built on mingw32.

-cares +digest +gpgme +https +ipv6 +iri +large-file +metalink -nls
+ntlm +opie +psl +ssl/openssl

Wgetrc:
    /win32dev/misc/wget/out64/etc/wgetrc (system)
Compile:
    x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H
    -DSYSTEM_WGETRC="/win32dev/misc/wget/out64/etc/wgetrc"
    -DLOCALEDIR="/win32dev/misc/wget/out64/share/locale" -I. -I../lib
    -I../lib -I/win32dev/misc/wget/out64/include
    -I/win32dev/misc/wget/out64/include
    -I/win32dev/misc/wget/out64/include -DPCRE2_STATIC
    -I/win32dev/misc/wget/out64/include
    -I/win32dev/misc/wget/out64/include -DHAVE_LIBSSL
    -I/win32dev/misc/wget/out64/include
    -I/win32dev/misc/wget/out64/include -DNDEBUG -g -O2
Link:
    x86_64-w64-mingw32-gcc -I/win32dev/misc/wget/out64/include
    -I/win32dev/misc/wget/out64/include -DPCRE2_STATIC
    -I/win32dev/misc/wget/out64/include
    -I/win32dev/misc/wget/out64/include -DHAVE_LIBSSL
    -I/win32dev/misc/wget/out64/include
    -I/win32dev/misc/wget/out64/include -DNDEBUG -g -O2
    -L/win32dev/misc/wget/out64/lib -L/win32dev/misc/wget/out64/lib
    -lmetalink -lunistring -liconv -L/win32dev/misc/wget/out64/lib
    -lpcre2-8 -lidn2 -L/win32dev/misc/wget/out64/lib -lssl -lcrypto
    -L/win32dev/misc/wget/out64/lib -lz -L/win32dev/misc/wget/out64/lib
    -lpsl -lws2_32 -lunistring -lws2_32 -lole32 -lcrypt32 -lexpat
    -L/win32dev/misc/wget/out64/lib -lgpgme -lassuan -lws2_32
    -lgpg-error ftp-opie.o mswindows.o openssl.o http-ntlm.o
    ../lib/libgnu.a -lws2_32 -lws2_32 -lws2_32 -lws2_32 -lws2_32
    /win32dev/misc/wget/out64/lib/libiconv.a
    /win32dev/misc/wget/out64/lib/libunistring.a -lws2_32

Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.

Ref: https://github.com/lukesampson/scoop/commit/98649f8c408c17ab8e4330861c6bd41259ee7369

rasa commented 5 years ago

Version 1.20.3 has issues. See https://eternallybored.org/misc/wget/

Workaround (until 1.20.3 is fixed):

scoop uninstall wget
scoop bucket add versions
scoop install wget120