* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? [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 0 siblings, 1 reply; 10+ messages in thread From: Ian Lambert via cygwin @ 2016-12-12 11:52 UTC (permalink / raw) To: cygwin, Achim Gratz On Thu, 12/8/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 8, 2016, 2:22 PM Ian Lambert writes: > 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. It took some time to get to it, but I've tested setup.exe using an NTLM authenticating proxy @work today and it does exactly what it is supposed to do (pop up a dialog box asking for the user name and password, then authenticate to the proxy and use it for the rest of the session). So your problem still seems to be some misconfiguration on the proxy side that causes communication with setup.exe to fail. = = = You can call it "misconfiguration." I can call it "different" configuration than setup assumes. The point remains: other programs, like wget, consistently work OK, without popups, when given proxy username and password in either .bashrc or .wgetrc, and I am sure they were not customized for this proxy. Maybe a comparison of how wget handles authentication versus how setup handles it could help? > Defaulting to empty mirror list > site: ftp://mirrors.kernel.org/sourceware/cygwin/ Err… could it be that your proxy isn't actually of functioning as an FTP proxy? How about using a HTTP mirror instead? = = = No. Wget works OK with either type. HTTP mirror has been tried with setup, and also does not work. From previous post, setup fails to retrieve mirrors.lst, with an HTTP, before failing to retrieve setup.ini. Again, wget can retrieve these consistently OK when given username and password. 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! ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? 2016-12-12 11:52 ` Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? Ian Lambert via cygwin @ 2016-12-12 18:40 ` Achim Gratz 0 siblings, 0 replies; 10+ messages in thread From: Achim Gratz @ 2016-12-12 18:40 UTC (permalink / raw) To: cygwin Ian Lambert via cygwin writes: > Maybe a comparison of how wget handles > authentication versus how setup handles it > could help? The problem is on your side and I cannot reproduce it. So that analysis (which I've asked for earlier) either comes from you or you'll have to wait until someone else can reproduce it. In any case, I've verified that setup.exe does ask for the user/password if it gets the required 407 error response from a proxy requiring authentication and then correctly uses that proxy for the remainder of the session. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <1138781101.3557942.1481836956476.ref@mail.yahoo.com>]
* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? [not found] <1138781101.3557942.1481836956476.ref@mail.yahoo.com> @ 2016-12-15 21:28 ` Ian Lambert via cygwin 0 siblings, 0 replies; 10+ messages in thread From: Ian Lambert via cygwin @ 2016-12-15 21:28 UTC (permalink / raw) To: cygwin, Brian.Inglis On Tue, 12/13/16, Brian Inglis wrote: Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? To: cygwin@cygwin.com Date: Tuesday, December 13, 2016, 3:57 PM On 2016-12-13 11:43, Ian Lambert via cygwin wrote: > On Mon, 12/12/16, Achim Gratz wrote: >> Ian Lambert via cygwin writes: >>> Maybe a comparison of how wget handles authentication versus how >>> setup handles it could help? >> The problem is on your side and I cannot reproduce it. So that >> analysis (which I've asked for earlier) either comes from you or >> you'll have to wait until someone else can reproduce it. In any case, >> I've verified that setup.exe does ask for the user/password if it >> gets the required 407 error response from a proxy requiring >> authentication and then correctly uses that proxy for the remainder >> of the session. > The output from testing with wget and setup verbose is here: > https://cygwin.com/ml/cygwin/2016-12/msg00034.html > After skimming wget and setup sources, my guess is it has something > to do with "basic" versus NTLM authentication. I saw enough to know > setup source is not nearly as thoroughly commented as wget, and both > are too complicated for me. :D > Is there any chance of getting similar outputs from behind your > proxy, to look for differences with mine? Maybe your proxy is not properly handling unexpected User Agent or other header strings from wget and setup. Have you tried curl - curl often outputs only the HTTP message, and you can then add options to generate the correct responses or handling. Both curl and wget each support some user specified header addition and modification options. Note that setup seems to require and support only Basic authentication and does not process any negotiation, so if your proxy can or does not fall back to support Basic authentication, only NTLM, you're hooped! Have you tried using apt-cyg or another alternate installer? I could suggest https://github.com/BrianInglis/apt-cyg/raw/wget-non-verbose/apt-cyg ;^> as it has been patched to handle installing dependencies and postinstall scripts but does not (yet?) handle upgrades except by manually removing and (re-)installing packages. You may have to do your setup and package downloads via apt-cyg, wget, or IE to your packages directories and use setup to do installs from there. = = = At one time the proxy did seem to have user-agent requirements, but lately it seems more forgiving, for wget and curl. Thanks for your earlier curl and wget suggestions too. The output with debug/verbose options is "interesting." Yes, I've used apt-cyg downloads and offline setup/upgrade since about last February. I'm using the latest version, with a small modification to try to get "test" versions more reliably. Oddly, trying to compare the outputs from different curl requests, with tkdiff, revealed that this script is no longer working for me. It worked maybe 2 weeks ago. :/ It's always something. -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <1514592420.2041696.1481654586533.ref@mail.yahoo.com>]
* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? [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 0 siblings, 1 reply; 10+ messages in thread From: Ian Lambert via cygwin @ 2016-12-13 18:47 UTC (permalink / raw) To: cygwin, Achim Gratz On Mon, 12/12/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: Monday, December 12, 2016, 1:40 PM Ian Lambert via cygwin writes: > Maybe a comparison of how wget handles > authentication versus how setup handles it > could help? The problem is on your side and I cannot reproduce it. So that analysis (which I've asked for earlier) either comes from you or you'll have to wait until someone else can reproduce it. In any case, I've verified that setup.exe does ask for the user/password if it gets the required 407 error response from a proxy requiring authentication and then correctly uses that proxy for the remainder of the session. = = = The output from testing with wget and setup verbose is here: https://cygwin.com/ml/cygwin/2016-12/msg00034.html After skimming wget and setup sources, my guess is it has something to do with "basic" versus NTLM authentication. I saw enough to know setup source is not nearly as thoroughly commented as wget, and both are too complicated for me. :D Is there any chance of getting similar outputs from behind your proxy, to look for differences with mine? Thanks -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? 2016-12-13 18:47 ` Ian Lambert via cygwin @ 2016-12-13 20:57 ` Brian Inglis 0 siblings, 0 replies; 10+ messages in thread From: Brian Inglis @ 2016-12-13 20:57 UTC (permalink / raw) To: cygwin On 2016-12-13 11:43, Ian Lambert via cygwin wrote: > On Mon, 12/12/16, Achim Gratz wrote: >> Ian Lambert via cygwin writes: >>> Maybe a comparison of how wget handles authentication versus how >>> setup handles it could help? >> The problem is on your side and I cannot reproduce it. So that >> analysis (which I've asked for earlier) either comes from you or >> you'll have to wait until someone else can reproduce it. In any case, >> I've verified that setup.exe does ask for the user/password if it >> gets the required 407 error response from a proxy requiring >> authentication and then correctly uses that proxy for the remainder >> of the session. > The output from testing with wget and setup verbose is here: > https://cygwin.com/ml/cygwin/2016-12/msg00034.html > After skimming wget and setup sources, my guess is it has something > to do with "basic" versus NTLM authentication. I saw enough to know > setup source is not nearly as thoroughly commented as wget, and both > are too complicated for me. :D > Is there any chance of getting similar outputs from behind your > proxy, to look for differences with mine? Maybe your proxy is not properly handling unexpected User Agent or other header strings from wget and setup. Have you tried curl - curl often outputs only the HTTP message, and you can then add options to generate the correct responses or handling. Both curl and wget each support some user specified header addition and modification options. Note that setup seems to require and support only Basic authentication and does not process any negotiation, so if your proxy can or does not fall back to support Basic authentication, only NTLM, you're hooped! Have you tried using apt-cyg or another alternate installer? I could suggest https://github.com/BrianInglis/apt-cyg/raw/wget-non-verbose/apt-cyg ;^> as it has been patched to handle installing dependencies and postinstall scripts but does not (yet?) handle upgrades except by manually removing and (re-)installing packages. You may have to do your setup and package downloads via apt-cyg, wget, or IE to your packages directories and use setup to do installs from there. -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <2128275392.6182492.1480962659006.ref@mail.yahoo.com>]
* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? [not found] <2128275392.6182492.1480962659006.ref@mail.yahoo.com> @ 2016-12-05 18:31 ` Ian Lambert 2016-12-08 19:23 ` Achim Gratz 0 siblings, 1 reply; 10+ messages in thread From: Ian Lambert @ 2016-12-05 18:31 UTC (permalink / raw) To: cygwin, Achim Gratz 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? 2016-12-05 18:31 ` Ian Lambert @ 2016-12-08 19:23 ` Achim Gratz 0 siblings, 0 replies; 10+ messages in thread From: Achim Gratz @ 2016-12-08 19:23 UTC (permalink / raw) To: cygwin Ian Lambert writes: > 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. It took some time to get to it, but I've tested setup.exe using an NTLM authenticating proxy @work today and it does exactly what it is supposed to do (pop up a dialog box asking for the user name and password, then authenticate to the proxy and use it for the rest of the session). So your problem still seems to be some misconfiguration on the proxy side that causes communication with setup.exe to fail. > Defaulting to empty mirror list > site: ftp://mirrors.kernel.org/sourceware/cygwin/ Err… could it be that your proxy isn't actually of functioning as an FTP proxy? How about using a HTTP mirror instead? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <282225090.3963609.1480612234263.ref@mail.yahoo.com>]
* Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? [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 0 siblings, 2 replies; 10+ messages in thread From: Ian Lambert @ 2016-12-01 17:13 UTC (permalink / raw) To: cygwin, Achim Gratz On Thu, 11/17/16, Achim Gratz <Stromeko@nexgo.de> wrote: Subject: Re: Resend: pdfseparate does nothing for me? To: cygwin@cygwin.com Date: Thursday, November 17, 2016, 3:25 PM 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. 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] -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? 2016-12-01 17:13 ` Ian Lambert @ 2016-12-01 18:08 ` Brian Inglis 2016-12-01 20:03 ` Achim Gratz 1 sibling, 0 replies; 10+ messages in thread From: Brian Inglis @ 2016-12-01 18:08 UTC (permalink / raw) To: cygwin On 2016-12-01 10:10, Ian Lambert wrote: > On Thu, 11/17/16, Achim Gratz <Stromeko@nexgo.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@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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? 2016-12-01 17:13 ` Ian Lambert 2016-12-01 18:08 ` Brian Inglis @ 2016-12-01 20:03 ` Achim Gratz 1 sibling, 0 replies; 10+ messages in thread From: Achim Gratz @ 2016-12-01 20:03 UTC (permalink / raw) To: cygwin Ian Lambert writes: > 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. It's quite clear that setup and your proxy miscommunicate about the authentication. > 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. 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-12-15 21:28 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <15848438.1016337.1481543147254.ref@mail.yahoo.com> 2016-12-12 11:52 ` Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? Ian Lambert via cygwin 2016-12-12 18:40 ` 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] <2128275392.6182492.1480962659006.ref@mail.yahoo.com> 2016-12-05 18:31 ` Ian Lambert 2016-12-08 19:23 ` 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
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).