From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11614 invoked by alias); 1 Dec 2016 18:08:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11597 invoked by uid 89); 1 Dec 2016 18:08:00 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Dec 2016 18:07:49 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id CVlocYJiyIwqSCVlpcas4v; Thu, 01 Dec 2016 11:07:48 -0700 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.3963609.1480612234263.ref@mail.yahoo.com> <282225090.3963609.1480612234263@mail.yahoo.com> To: cygwin@cygwin.com From: Brian Inglis Reply-To: Brian.Inglis@SystematicSw.ab.ca Message-ID: <9506c86a-04c9-5255-fda5-2b5a5895d933@SystematicSw.ab.ca> Date: Thu, 01 Dec 2016 18:08:00 -0000 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfJpYRRnkrclB6T2l5Y+Tghsw7KiQTGoShJ13ei0uJN4hEjaNJ8O6dNZiP7w4Q1z3ZKAsFB9D+KT/X41NUWHheM3MS47ZfKlO/7ub/kqkNV9mhUtnRNgP 1nO5zk8C9Jd+nPMl6j5NYoIRE7PDbDODoo4hxf5Ns509th67GFPpKzihaUm0cLGBPqVUTMhFi3J3nw== X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00018.txt.bz2 On 2016-12-01 10:10, Ian Lambert wrote: > On Thu, 11/17/16, Achim Gratz 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 or edit /etc/setup/setup.rc /last-mirror/+1 directly. > myuser@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@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