Re: HTTPS proxy authentication not working with wget2 command
Tim Rühsen <[email protected]> Tue, 20 Jan 2026 18:42:14 +0100
| Newsgroups | gmane.comp.web.wget.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, iirc, there are different types of https proxies, acting differently.=20 Pretty sure that wget2 doesn't work out of the box for all types. What could be helpful: - open an issue at https://gitlab.com/gnuwget/wget2/issues - use '--debug --max-threads=3D1` with your failing command and add the=20 output to the issue (make sure to remove credentials and any information= =20 that should not be public) - does it work with wget 1.x ? (if yes, also provide output from --debug) - can you provide a recipe for reproduction? e.g., one python script=20 acting as the proxy, another one as the server Regards, Tim On 1/20/26 8:26 AM, Samiya Khanum via Primary discussion list for GNU=20 Wget wrote: > Hi, > > I am experiencing an issue with HTTPS proxy authentication using the > wget2(version > 2.2.0) command. While HTTP proxy authentication and unauthenticated HTTP= S > proxy connections are working as expected, authentication is failing > specifically for HTTPS. > > Could you please review the command options I am using below and let me > know if they are correct, or if this is a known issue? > > *# wget2 --http-proxy-user=3D"test_qa" --http-proxy-password=3D"password= " > --https-proxy=3Dhttp://[2001::1]:3128 --timeout=3D30 --tries=3D3 > --no-check-certificate https://[2002::2]/./script -O /home/backup* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Cannot create progress bar thread. Disabling progress bar.Proxy connect= ion > failed with: HTTP/1.1 407 Proxy Authentication RequiredServer: > squid/4.10Mime-Version: 1.0Date: Fri, 09 Jan 2026 11:56:18 GMTContent-Ty= pe: > text/html;charset=3Dutf-8Content-Length: 3432X-Squid-Error: > ERR_CACHE_ACCESS_DENIED 0Vary: Accept-LanguageContent-Language: > enProxy-Authenticate: Basic realm=3D"proxy"X-Cache: MISS from > localhostX-Cache-Lookup: NONE from localhost:3128Via: 1.1 localhost > (squid/4.10)Connection: keep-alive<!DOCTYPE html PUBLIC "-//W3C//DTD HTM= L > 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd > <http://www.w3.org/TR/html4/strict.dtd>"><html><head><meta type=3D"copyr= ight" > content=3D"Copyright (C) 1996-2019 The Squid Software Foundation and > contributors"><meta http-equiv=3D"Content-Type" content=3D"text/html; > charset=3Dutf-8"><title>ERROR: Cache Access Denied</title><style > type=3D"text/css"><!-- /* * Copyright (C) 1996-2020 The Squid Software > Foundation and contributors * * Squid software is distributed under GPLv= 2+ > license and includes * contributions from numerous individuals and > organizations. * Please see the COPYINGFailed to connect: Connect error* > > Below 2 commands are working as expected. > > *wget2 -d --http-proxy-user=3D"test_qa" --http-proxy-password=3D"passwor= d" > --http-proxy=3Dhttp://[2001::1]:3128 --timeout=3D30 --tries=3D3 > http://[2002::2]/./script -O /home/backup* > *wget2 -d --https-proxy=3Dhttp://[2001::1]:3128 --timeout=3D30 --tries= =3D3 > --no-check-certificate https://[2002::2]/./script -O /home/backup* > > Best regards, > Samiya Khanum