Package: git Version: 1:2.14.1-2 Severity: normal Dear Maintainer,
When I tried to $ HTTPS_PROXY=http://username:password@proxy:80 git clone https://github.com/linuxdeepin/deepin-deb-installer.git I got 正克隆到 'deepin-deb-installer'... fatal: unable to access 'https://github.com/linuxdeepin/deepin-deb-installer.git/': Proxy CONNECT aborted Here is the HTTP session from Wireshark: CONNECT github.com:443 HTTP/1.1 Host: github.com:443 User-Agent: git/2.14.1 Proxy-Connection: Keep-Alive HTTP/1.0 407 Proxy Authentication Required Server: squid/2.7.STABLE9 Date: Sun, 27 Aug 2017 14:27:38 GMT Content-Type: text/html Content-Length: 1226 X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0 Proxy-Authenticate: Basic realm="Proxy" X-Cache: MISS from inproxy2 X-Cache-Lookup: NONE from inproxy2:8000 Via: 1.0 inproxy2:8000 (squid/2.7.STABLE9) Connection: close <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>ERROR: Cache Access Denied</title> <style type="text/css"><!-- %l body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) { direction: rtl; float: right; } --></style> </head> <body> <div id="titles"> <h1>ERROR</h1> <h2>Cache Access Denied.</h2> </div> <hr> <div id="content"> <p>The following error was encountered while trying to retrieve the URL: <a href="github.com:443">github.com:443</a></p> <blockquote id="error"> <p><b>Cache Access Denied.</b></p> </blockquote> <p>Sorry, you are not currently allowed to request github.com:443 from this cache until you have authenticated yourself.</p> <p>Please contact the <a href="mailto:webmaster%W">cache administrator</a> if you have difficulties authenticating yourself or <a href="http://inproxy2/cgi-bin/chpasswd.cgi">change</a> your default password.</p> <br> </div> <hr> <div id="footer"> <p>Generated Sun, 27 Aug 2017 14:27:38 GMT by inproxy2 (squid/2.7.STABLE9)</p> <!-- ERR_CACHE_ACCESS_DENIED --> </div> </body></html> CONNECT github.com:443 HTTP/1.1 Host: github.com:443 Proxy-Authorization: Basic MYPASSWORD User-Agent: git/2.14.1 Proxy-Connection: Keep-Alive It seems git doesn't properly open the proxy for some reasons. Most weird is that this problem may disappear for some tries. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages git depends on: ii dpkg 1.18.24 ii git-man 1:2.14.1-2 ii libc6 2.24-14 ii libcurl3-gnutls 7.55.0-1 ii liberror-perl 0.17024-1 ii libexpat1 2.2.3-1 ii libpcre2-8-0 10.22-3 ii perl 5.26.0-5 ii zlib1g 1:1.2.8.dfsg-5 Versions of packages git recommends: ii less 481-2.1 ii openssh-client [ssh-client] 1:7.5p1-5 ii patch 2.7.5-1+b2 Versions of packages git suggests: ii gettext-base 0.19.8.1-2+b1 pn git-cvs <none> pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> pn git-email <none> pn git-gui <none> pn git-mediawiki <none> pn git-svn <none> pn gitk <none> pn gitweb <none> -- no debconf information