delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/05/13:31:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:subject
:mime-version:content-type:content-transfer-encoding:references;
q=dns; s=default; b=rJhi7WP3Lt8z5v9IVJU4p3BY3y9JusfZi4/CrHy2IP7
ICnTldXkLelR1WW3K6cUMV2HwhzlVdQu8tTnDForK3pAqORG3t5VVSUsZ90FB8Xa
C7N0bO/qTxWxNT4Vdg6Uxfqf5X+rYCsPWP2T2wZz+JLMAK7Li1AgueaUvGt8uyDM
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:subject
:mime-version:content-type:content-transfer-encoding:references;
s=default; bh=NxxJxQHvq1c4hiF3YFiJ4bwqGA0=; b=Fn0D3cJpfH7+/FyQh
cpFbFpLudb1ekvOiIgfSDfwW4YL19vy/ZAKD9R4oBHb2LFrUIxxU/p/5tKz75Bgm
V7hlfKsdbiIqB39gvwMj/Cig0YOJ1iMEODuW+aMNSCiVZJK4+DasQRY5kjekbql1
8g19yssquWUJXFBb1xp+Me8HBs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_40,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=certificates, H*r:sk:jws2001, negotiate, Again
X-HELO: nm9-vm3.bullet.mail.ne1.yahoo.com
Date: Mon, 5 Dec 2016 18:30:59 +0000 (UTC)
From: Ian Lambert <ian DOT lambert_42 AT yahoo DOT com>
Reply-To: Ian Lambert <ian DOT lambert_42 AT yahoo DOT com>
To: <cygwin AT cygwin DOT com>, Achim Gratz <Stromeko AT nexgo DOT de>
Message-ID: <2128275392.6182492.1480962659006@mail.yahoo.com>
Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?
MIME-Version: 1.0
References: <2128275392 DOT 6182492 DOT 1480962659006 DOT ref AT mail DOT yahoo DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id uB5IVPeK019124

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 AT cygwin DOT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019