Hi,

I am experiencing an issue with HTTPS proxy authentication using the
wget2(version
2.2.0) command. While HTTP proxy authentication and unauthenticated HTTPS
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="test_qa" --http-proxy-password="password"
--https-proxy=http://[2001::1]:3128  --timeout=30 --tries=3
 --no-check-certificate https://[2002::2]/./script -O /home/backup*




























*Cannot create progress bar thread. Disabling progress bar.Proxy connection
failed with: HTTP/1.1 407 Proxy Authentication RequiredServer:
squid/4.10Mime-Version: 1.0Date: Fri, 09 Jan 2026 11:56:18 GMTContent-Type:
text/html;charset=utf-8Content-Length: 3432X-Squid-Error:
ERR_CACHE_ACCESS_DENIED 0Vary: Accept-LanguageContent-Language:
enProxy-Authenticate: Basic realm="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 HTML
4.01//EN" "http://www.w3.org/TR/html4/strict.dtd
<http://www.w3.org/TR/html4/strict.dtd>"><html><head><meta type="copyright"
content="Copyright (C) 1996-2019 The Squid Software Foundation and
contributors"><meta http-equiv="Content-Type" content="text/html;
charset=utf-8"><title>ERROR: Cache Access Denied</title><style
type="text/css"><!--  /* * Copyright (C) 1996-2020 The Squid Software
Foundation and contributors * * Squid software is distributed under GPLv2+
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="test_qa" --http-proxy-password="password"
--http-proxy=http://[2001::1]:3128  --timeout=30 --tries=3
http://[2002::2]/./script -O /home/backup*
*wget2 -d --https-proxy=http://[2001::1]:3128  --timeout=30 --tries=3
 --no-check-certificate https://[2002::2]/./script -O /home/backup*

Best regards,
Samiya Khanum

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

  • HTTPS proxy authent... Samiya Khanum via Primary discussion list for GNU Wget

Reply via email to