delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/01/13:08:15

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:subject:references:to:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=MBTdDl/Bw/KwUao8
tOV8EFCD9vFpM9bjB2BAn53Lx1EgSEmC2kAeU7w7RN0Wg+RT3bicVVs955Y8LLLW
tv6OgdkWWzpiQbm5db/bOaohwm1k4SYSal7rCmAZfKeVrPjuE5Q4ekDZ+X43traB
oacgSf07O4uTuVi8z4KyoRXjg90=
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:subject:references:to:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=vmoKHFdPShAMDS17QG95xT
juP0A=; b=vHAU3AZBzVK2tNhh34t+NwAr9xL5Bz8kZv7MO8QJySamMgAnXFLUIt
U25DL8q4qENVWW9t0tEvdT096kLdQfxanRcrA+m4FHFxxcHZRn4JVUI9PlM0Rih0
EquBL5tmnmfiMj3osmhLBFN4/P669R+51WMh/CeLy4c3FWkqHYQiM=
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=3.3 required=5.0 tests=AWL,BAYES_50,EXECUTABLE_URI,KAM_EXEURI,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, H*RU:shaw.ca, H*R:D*ca
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=cNuQihWN c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=kbAKWDLfg8WETPRAVMEA:9 a=amBOSwSvw3GMs6h5:21 a=XIEtGDpHOD-o515A:21 a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22
Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?
References: <282225090 DOT 3963609 DOT 1480612234263 DOT ref AT mail DOT yahoo DOT com> <282225090 DOT 3963609 DOT 1480612234263 AT mail DOT yahoo DOT com>
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Message-ID: <9506c86a-04c9-5255-fda5-2b5a5895d933@SystematicSw.ab.ca>
Date: Thu, 1 Dec 2016 11:07:44 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
MIME-Version: 1.0
In-Reply-To: <282225090.3963609.1480612234263@mail.yahoo.com>
X-CMAE-Envelope: MS4wfJpYRRnkrclB6T2l5Y+Tghsw7KiQTGoShJ13ei0uJN4hEjaNJ8O6dNZiP7w4Q1z3ZKAsFB9D+KT/X41NUWHheM3MS47ZfKlO/7ub/kqkNV9mhUtnRNgP 1nO5zk8C9Jd+nPMl6j5NYoIRE7PDbDODoo4hxf5Ns509th67GFPpKzihaUm0cLGBPqVUTMhFi3J3nw==
X-IsSubscribed: yes

On 2016-12-01 10:10, Ian Lambert wrote:
> On Thu, 11/17/16, Achim Gratz <Stromeko AT nexgo DOT de> wrote:
>  Ian Lambert writes:
>> Explorer is using a proxy configuration script, defined by others.
> Looking back at your older posts it seems your proxy requires a 
> password. I have no idea how the configuration script sets up things 
> for you, but apparently it bypasses the registry settings that it
> would normally use.
>> Setup is being run with --no-admin. -p has been tried, but there is
>> no option for user/passwd.
> Setup.exe supposedly should ask for that information via a dialog
> box when the proxy indicates it needs it, but it seems that your
> proxy just doesn't return the required 407 response header. If you
> could figure out (via wget most likely) what the communication with
> your proxy looks like (with and without password) that might lead to
> somewhere.
> I finally observed wget fail because of authentication, then work
> when given user, password.
> Screen output is below.
> Subsequent wgets work without giving password, so there is some 
> caching of authentication, apparently, at least for wget (and
> apt-cyg).
> Setup is not as lucky, is unable to get setup.ini, and never asks for
> user, password.
> It also only lists the download site I last used.

You can change the web site using apt-cyg mirror <uri> 
or edit /etc/setup/setup.rc /last-mirror/+1 directly.

> myuser AT mypc ~/junk/cygwin
> $ wget https://cygwin.com/setup-x86_64.exe
> --2016-12-01 10:52:10--  https://cygwin.com/setup-x86_64.exe
> Resolving superproxy.our.wonder.place
> (superproxy.our.wonder.place)... an.ip.address.here
> Connecting to superproxy.our.wonder.place
> (superproxy.our.wonder.place)|an.ip.address.here|:port... connected.
> Proxy tunneling failed: Proxy Authentication RequiredUnable to
> establish SSL connection.
> myuser AT mypc ~/junk/cygwin
> $ wget --user=myuser --password=mypasswd
> https://cygwin.com/setup-x86_64.exe
> --2016-12-01 10:53:22--  https://cygwin.com/setup-x86_64.exe
> Resolving superproxy.our.wonder.place
> (superproxy.our.wonder.place)... an.ip.address.here
> Connecting to superproxy.our.wonder.place
> (superproxy.our.wonder.place)|an.ip.address.here|:port... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 910336 (889K) [application/octet-stream]
> Saving to: ‘setup-x86_64.exe’
> setup-x86_64.exe 100%
> [===========================================================>]
> 889.00K 719KB/s in 1.2s
> 2016-12-01 10:53:24 (719 KB/s) - ‘setup-x86_64.exe’ saved
> [910336/910336]

curl -v sometimes shows when server status codes are returned instead 
of web pages, allowing you to add options to proceed further, step by 
step.
wget -d can also provide more useful information.
Packet analyzers like wireshark etc. can let you see what programs 
like setup are doing (wrong), when compared to wget working correctly.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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