Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?

2016-12-15 Thread Ian Lambert via cygwin

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



Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?

2016-12-13 Thread Brian Inglis
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



Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?

2016-12-13 Thread Ian Lambert via cygwin
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



Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?

2016-12-12 Thread Achim Gratz
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



Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?

2016-12-12 Thread Ian Lambert via cygwin
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!

 


Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?

2016-12-08 Thread Achim Gratz
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



Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?

2016-12-01 Thread Achim Gratz
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



Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?

2016-12-01 Thread Brian Inglis
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



Re: Resend: pdfseparate does nothing for me?

2016-11-17 Thread Achim Gratz
Ian Lambert writes:
> Of course that has been tried and it does not work. It eventually pops
> up "unable to get setup from  [ok]". So does "use HTTP/FTP
> Proxy" (with only host and port entry available), and "Direct
> Connection".

Well, if you're connected through a proxy, then of course "direct
connection" will not work.

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


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

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



Re: Resend: pdfseparate does nothing for me?

2016-11-15 Thread Marco Atzeri



On 15/11/2016 23:16, Ian Lambert wrote:

On Tue, 11/15/16, Achim Gratz  wrote:

 Subject: Re: Resend: pdfseparate does nothing for me?
 To: cygwin@cygwin.com
 Date: Tuesday, November 15, 2016, 3:34 PM

 Ian Lambert writes:
 > I try to stay up to date, but it is
 difficult because setup would not
 >
 accept network proxy settings the last time I
 tried,

 Then you need
 to fix that or maintain a local mirror that setup can
 use.


A full local mirror (~80 GB) is too big to be an option. Automating a partial 
one
is still a mystery. ( https://sourceware.org/cygwin-apps/package-server.html )

I can't fix setup without help. User and passwd options appear in setup source;
however, it never asks me to enter them. I'm happy to test changes, but fixing
it myself now isn't feasible.



on "select connection type" Window, use "Internet Explorer Settings"

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



Re: Resend: pdfseparate does nothing for me?

2016-11-15 Thread Achim Gratz
Ian Lambert writes:
> cygcheck did say "OK" for the previous version, however :)

The "OK" in this case means (only) that at all the files the package is
supposed to have are still present.

> I try to stay up to date, but it is difficult because setup would not
> accept network proxy settings the last time I tried,

Then you need to fix that or maintain a local mirror that setup can use.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

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



Re: Resend: pdfseparate does nothing for me?

2016-11-15 Thread Ian Lambert


On Tue, 11/15/16, Ken Brown  wrote:

 Subject: Re: Resend: pdfseparate does nothing for me?
 To: cygwin@cygwin.com
 Date: Tuesday, November 15, 2016, 1:56 PM
 
 On 11/15/2016 9:59 AM,
 Ian Lambert wrote:
 >> The procedure
 entry point nghttp2_http2_strerror could not
 >> be located
 >> in
 the dynamic link library cygnghttp2-14.dll.
 >>  [...]
 >> A
 redacted cygcheck -svr output is attached.
 
 > libnghttp2_14       
                      1.7.1-1
 
 You don't have the current
 version of libnghttp2_14 installed.
 
 Ken

Moving to version 1.14.0-1 fixed it.

cygcheck did say "OK" for the previous version, however :)
 
libnghttp2_14 1.7.1-1 OK

I try to stay up to date, but it is difficult because setup would not accept 
network proxy settings the last time I tried, so I'm using apt-cyg download and 
setup local installs as a workaround, and this does not always get me the 
latest versions of packages (and requires many painful copy/pastes from Update 
Announcements).

Thank you! 

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



Re: Resend: pdfseparate does nothing for me?

2016-11-15 Thread Ken Brown

On 11/15/2016 9:59 AM, Ian Lambert wrote:

The procedure entry point nghttp2_http2_strerror could not
be located
in the dynamic link library cygnghttp2-14.dll.
 [...]
A redacted cygcheck -svr output is attached.



libnghttp2_14 1.7.1-1


You don't have the current version of libnghttp2_14 installed.

Ken

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