public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ian Lambert <ian.lambert_42@yahoo.com>
To: <cygwin@cygwin.com>, Achim Gratz <Stromeko@nexgo.de>
Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?
Date: Mon, 05 Dec 2016 18:31:00 -0000	[thread overview]
Message-ID: <2128275392.6182492.1480962659006@mail.yahoo.com> (raw)
In-Reply-To: <2128275392.6182492.1480962659006.ref@mail.yahoo.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

       reply	other threads:[~2016-12-05 18:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2128275392.6182492.1480962659006.ref@mail.yahoo.com>
2016-12-05 18:31 ` Ian Lambert [this message]
2016-12-08 19:23   ` Achim Gratz
     [not found] <1138781101.3557942.1481836956476.ref@mail.yahoo.com>
2016-12-15 21:28 ` Ian Lambert via cygwin
     [not found] <1514592420.2041696.1481654586533.ref@mail.yahoo.com>
2016-12-13 18:47 ` Ian Lambert via cygwin
2016-12-13 20:57   ` Brian Inglis
     [not found] <15848438.1016337.1481543147254.ref@mail.yahoo.com>
2016-12-12 11:52 ` Ian Lambert via cygwin
2016-12-12 18:40   ` Achim Gratz
     [not found] <282225090.3963609.1480612234263.ref@mail.yahoo.com>
2016-12-01 17:13 ` Ian Lambert
2016-12-01 18:08   ` Brian Inglis
2016-12-01 20:03   ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2128275392.6182492.1480962659006@mail.yahoo.com \
    --to=ian.lambert_42@yahoo.com \
    --cc=Stromeko@nexgo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).