This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?
- From: Ian Lambert <ian dot lambert_42 at yahoo dot com>
- To: <cygwin at cygwin dot com>, Achim Gratz <Stromeko at nexgo dot de>
- Date: Mon, 5 Dec 2016 18:30:59 +0000 (UTC)
- Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?
- Authentication-results: sourceware.org; auth=none
- References: <2128275392.6182492.1480962659006.ref@mail.yahoo.com>
- Reply-to: Ian Lambert <ian dot lambert_42 at yahoo dot com>
On Thu, 12/1/16, Achim Gratz wrote:
Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?
To: cygwin@cygwin.com
Date: Thursday, December 1, 2016, 3:03 PM
Again, the
proxy is supposed to reply with a 407 error when it
requires
to authenticate the request
source. It obviously errors out, but it
does not appear to actually request
authentication. If it would do
that, then
setup would ask for the user/password combination.
= = = =
The proxy gives the 407 error, based on some testing
with wget -d. Even without providing user/password, it works
around half the time, for wget. Below are some debug output from setup,
and debug output from wget testing, which shows the 407 error.
$ /path/to/setup-x86_64.exe -B -p our.fine.proxy.here:port -v -N -d
Starting cygwin install, version 2.876
User has NO backup/restore rights
Current Directory: x:\cygwin-install
Could not open Service control manager
source: network install
root: x:\cygwin64 user
Selected local directory: x:\cygwin-install
net: Proxy
Cached mirror list unavailable
get_url_to_membuf http://cygwin.com/mirrors.lst
getUrlToStream http://cygwin.com/mirrors.lst
getUrlToStream failed!
get_url_to_membuf failed!
Defaulting to empty mirror list
site: ftp://mirrors.kernel.org/sourceware/cygwin/
get_url_to_membuf ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz.sig
getUrlToStream ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz.sig
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz
getUrlToStream ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.bz2.sig
getUrlToStream ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.bz2.sig
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.bz2
getUrlToStream ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.bz2
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.ini.sig
getUrlToStream ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.ini.sig
getUrlToStream failed!
get_url_to_membuf failed!
get_url_to_membuf ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.ini
getUrlToStream ftp://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.ini
getUrlToStream failed!
get_url_to_membuf failed!
mbox note: Unable to get setup from <ftp://mirrors.kernel.org/sourceware/cygwin/>
INSTALLED.DB version 3
Ending cygwin install
Script started on Mon, Dec 05, 2016 12:39:19 PM
<snip>
$ for n in `seq 1 10` ; do echo "= = = = = $n = = = = =" ; wget -d https://cygwin.com/mirrors.lst ; sleep 60 ; done
= = = = = 1 = = = = =
DEBUG output created by Wget 1.18 on cygwin.
Reading HSTS entries from /home/myuser/.wget-hsts
URI encoding = ‘UTF-8’
URI encoding = ‘UTF-8’
Converted file name 'mirrors.lst' (UTF-8) -> 'mirrors.lst' (UTF-8)
--2016-12-05 12:40:16-- https://cygwin.com/mirrors.lst
Certificates loaded: 169
Resolving our.fine.proxy.here (our.fine.proxy.here)... an.ip.add.here
Caching our.fine.proxy.here => an.ip.add.here
Connecting to our.fine.proxy.here (our.fine.proxy.here)|an.ip.add.here|:port... connected.
Created socket 4.
Releasing 0x00000006000637e0 (new refcount 1).
---request begin---
CONNECT cygwin.com:443 HTTP/1.1
User-Agent: Wget/1.18 (cygwin)
Host: cygwin.com:443
---request end---
proxy responded with: [HTTP/1.1 407 Proxy Authentication Required
Proxy-Authenticate: NEGOTIATE
Proxy-Authenticate: NTLM
Proxy-Authenticate: BASIC realm="ABCD_XYZ"
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Proxy-Connection: close
Connection: close
Content-Length: 801
]
Proxy tunneling failed: Proxy Authentication RequiredUnable to establish SSL connection.
= = = = = 2 = = = = =
<snip>
= = = = = 4 = = = = =
DEBUG output created by Wget 1.18 on cygwin.
Reading HSTS entries from /home/myuser/.wget-hsts
URI encoding = ‘UTF-8’
URI encoding = ‘UTF-8’
Converted file name 'mirrors.lst' (UTF-8) -> 'mirrors.lst' (UTF-8)
--2016-12-05 12:43:17-- https://cygwin.com/mirrors.lst
Certificates loaded: 169
Resolving our.fine.proxy.here (our.fine.proxy.here)... an.ip.add.here
Caching our.fine.proxy.here => an.ip.add.here
Connecting to our.fine.proxy.here (our.fine.proxy.here)|an.ip.add.here|:port... connected.
Created socket 4.
Releasing 0x00000006000637e0 (new refcount 1).
---request begin---
CONNECT cygwin.com:443 HTTP/1.1
User-Agent: Wget/1.18 (cygwin)
Host: cygwin.com:443
---request end---
proxy responded with: [HTTP/1.1 200 Connection established
]
---request begin---
GET /mirrors.lst HTTP/1.1
User-Agent: Wget/1.18 (cygwin)
Accept: */*
Accept-Encoding: identity
Host: cygwin.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Mon, 05 Dec 2016 17:43:18 GMT
Server: Apache
Last-Modified: Mon, 05 Dec 2016 16:24:19 GMT
ETag: "de93d6-23b4-542ebb8428f4b"
Accept-Ranges: bytes
Content-Length: 9140
Content-Security-Policy: default-src 'self' http: https:
Strict-Transport-Security: max-age=16070400
Keep-Alive: timeout=30, max=20
Connection: Keep-Alive
Content-Type: text/plain; charset=UTF-8
---response end---
200 OK
Registered socket 4 for persistent reuse.
Parsed Strict-Transport-Security max-age = 16070400, includeSubDomains = false
Updated HSTS host: cygwin.com:443 (max-age: 16070400, includeSubdomains: false)
URI content encoding = ‘UTF-8’
Length: 9140 (8.9K) [text/plain]
Saving to: ‘mirrors.lst’
mirrors.lst 0%[ ] 0 --.-KB/s mirrors.lst 100%[==================>] 8.93K --.-KB/s in 0.001s
2016-12-05 12:43:18 (5.97 MB/s) - ‘mirrors.lst’ saved [9140/9140]
= = = = = 5 = = = = =
<snip>
$ exit
Script done on Mon, Dec 05, 2016 12:51:12 PM
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple