Re: Installer is Timing Out.

2018-06-01 Thread Alex Harui
Hi Maxim,

You got the correct results.  The browser says that because the cgi returned 
plain text instead of html.  Do a "View Source" on the page and you should see 
it is plain text which should be what we want.

Maybe there is a bug in the mirror the cgi picks for Justin.  We'll see what 
Piotr finds.  I just noticed that single-mirror is returning an HTTP and not an 
HTTPS url so I'm now confused why the attempt to fetch 
flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml is going through 
HTTPS.  Is anybody getting an HTTPS result?  Is anybody else getting more than 
one line back from single-mirror besides Justin?

-Alex

On 6/1/18, 2:12 AM, "Maxim Solodovnik"  wrote:


https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fflex.apache.org%2Fsingle-mirror-url--xml.cgi&data=02%7C01%7Caharui%40adobe.com%7Cc0eb76c101d14c17dc5808d5c79fdc1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634411766729056&sdata=2KI%2BgmBP9vlV7dUlD6JhBNbSM9LLU9w2gKMFizqhOoQ%3D&reserved=0

Returns:
--
This page contains the following errors:

error on line 1 at column 1: Document is empty

Below is a rendering of the page up to the first error.
--

Maybe it worth to contact the INFRA and ask for the script similar to

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.apache.org%2Fdyn%2Fcloser.lua&data=02%7C01%7Caharui%40adobe.com%7Cc0eb76c101d14c17dc5808d5c79fdc1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634411766729056&sdata=rI0upItBGUuEkedBGUA2XkiazROT%2Bb37NNoYmYNAVGM%3D&reserved=0
But returning URL without HTML ... ?

On Fri, Jun 1, 2018 at 4:07 PM, Piotr Zarzycki
 wrote:
> Hi Justin,
>
> I see exactly the same thing as Maxim.
>
> This site can’t provide a secure connection
>
> *apache.melbourneitmirror.net 
*
 uses
> an unsupported protocol.
> ERR_SSL_VERSION_OR_CIPHER_MISMATCH
>
> Thanks,
> Piotr
>
> pt., 1 cze 2018 o 10:57 Justin Mclean  napisał(a):
>
>> Hi,
>>
>> > The worst thing that I have seen the same as Alex - that there is a
>> problem
>> > with https, not parsing itself.
>>
>> If it is an https issue like this (one of the possible mirrors that can 
be
>> returned)
>>
>> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapache.melbourneitmirror.net%2Fflex%2F4.16.1%2Fbinaries%2Fapache-flex-sdk-installer-config.xml&data=02%7C01%7Caharui%40adobe.com%7Cc0eb76c101d14c17dc5808d5c79fdc1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634411766729056&sdata=pI1lIZ3Q66mD0dzhT205q2Bhc%2Fzbs0ci9IqnqVsjDvE%3D&reserved=0
>> <
>> 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapache.melbourneitmirror.net%2Fflex%2F4.16.1%2Fbinaries%2Fapache-flex-sdk-installer-config.xml&data=02%7C01%7Caharui%40adobe.com%7Cc0eb76c101d14c17dc5808d5c79fdc1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634411766729056&sdata=pI1lIZ3Q66mD0dzhT205q2Bhc%2Fzbs0ci9IqnqVsjDvE%3D&reserved=0
>> >
>>
>> I can’t see how we could easily solve it as it likely at the mirrors end.
>> (Open that URL in a browser and see what you get.)
>>
>> It may be that SSL in not supported on all Apache mirrors, perhaps on
>> purpose?? Has anyone asked infra? I have no idea if this is the case or 
not
>> and a quick search of teh documentation doesn’t mention https and 
mirrors.
>>
>> I know that the KEY files and hashes need to checked via SSL and not
>> placed on mirrors, but all mirror examples use http not https and there 
is
>> this JIRA which suggests that https requests need to redirect and return
>> 301s. [1] (which is moved permanently)
>>
>> Thanks,
>> Justin
>>
>> 1. 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FINFRA-13442&data=02%7C01%7Caharui%40adobe.com%7Cc0eb76c101d14c17dc5808d5c79fdc1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634411766729056&sdata=98JWUAAah%2FRLNN7dxi12wrLclDb6lRz%2Bt6y4f55cntA%3D&reserved=0
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: 
*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cc0eb76c101d14c17dc5808d5c79fdc1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634411766729056&sdata=rsGpcdht%2FGLo%2Fqh09nPHPjTYYL22DQwwlt3xoteSBnI%3D&reserved=0
> 


Re: Installer is Timing Out.

2018-06-01 Thread Maxim Solodovnik
http://flex.apache.org/single-mirror-url--xml.cgi

Returns:
--
This page contains the following errors:

error on line 1 at column 1: Document is empty

Below is a rendering of the page up to the first error.
--

Maybe it worth to contact the INFRA and ask for the script similar to
https://www.apache.org/dyn/closer.lua
But returning URL without HTML ... ?

On Fri, Jun 1, 2018 at 4:07 PM, Piotr Zarzycki
 wrote:
> Hi Justin,
>
> I see exactly the same thing as Maxim.
>
> This site can’t provide a secure connection
>
> *apache.melbourneitmirror.net * uses
> an unsupported protocol.
> ERR_SSL_VERSION_OR_CIPHER_MISMATCH
>
> Thanks,
> Piotr
>
> pt., 1 cze 2018 o 10:57 Justin Mclean  napisał(a):
>
>> Hi,
>>
>> > The worst thing that I have seen the same as Alex - that there is a
>> problem
>> > with https, not parsing itself.
>>
>> If it is an https issue like this (one of the possible mirrors that can be
>> returned)
>>
>> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
>> <
>> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
>> >
>>
>> I can’t see how we could easily solve it as it likely at the mirrors end.
>> (Open that URL in a browser and see what you get.)
>>
>> It may be that SSL in not supported on all Apache mirrors, perhaps on
>> purpose?? Has anyone asked infra? I have no idea if this is the case or not
>> and a quick search of teh documentation doesn’t mention https and mirrors.
>>
>> I know that the KEY files and hashes need to checked via SSL and not
>> placed on mirrors, but all mirror examples use http not https and there is
>> this JIRA which suggests that https requests need to redirect and return
>> 301s. [1] (which is moved permanently)
>>
>> Thanks,
>> Justin
>>
>> 1. https://issues.apache.org/jira/browse/INFRA-13442
>>
>>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *



-- 
WBR
Maxim aka solomax


Re: Installer is Timing Out.

2018-06-01 Thread Piotr Zarzycki
Hi Justin,

I see exactly the same thing as Maxim.

This site can’t provide a secure connection

*apache.melbourneitmirror.net * uses
an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Thanks,
Piotr

pt., 1 cze 2018 o 10:57 Justin Mclean  napisał(a):

> Hi,
>
> > The worst thing that I have seen the same as Alex - that there is a
> problem
> > with https, not parsing itself.
>
> If it is an https issue like this (one of the possible mirrors that can be
> returned)
>
> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
> <
> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
> >
>
> I can’t see how we could easily solve it as it likely at the mirrors end.
> (Open that URL in a browser and see what you get.)
>
> It may be that SSL in not supported on all Apache mirrors, perhaps on
> purpose?? Has anyone asked infra? I have no idea if this is the case or not
> and a quick search of teh documentation doesn’t mention https and mirrors.
>
> I know that the KEY files and hashes need to checked via SSL and not
> placed on mirrors, but all mirror examples use http not https and there is
> this JIRA which suggests that https requests need to redirect and return
> 301s. [1] (which is moved permanently)
>
> Thanks,
> Justin
>
> 1. https://issues.apache.org/jira/browse/INFRA-13442
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Installer is Timing Out.

2018-06-01 Thread Maxim Solodovnik
Hello Piotr,

How does this help: Info from different sides of the world might be
useful in debugging services :)
What to do: Not sure what would be the best option here :( Since
flex.a.o is accessible for users who are using Flex, maybe it worth to
host installer config at flex.a.o? (just an idea)

PS Reports from Russia might not be very useful due to we have lots of
"cloud IP addresses" blocked by government:
https://www.reuters.com/article/us-russia-telegram-blocking/russia-starts-blocking-telegram-messenger-idUSKBN1HN13J

On Fri, Jun 1, 2018 at 3:55 PM, Piotr Zarzycki
 wrote:
> Hi Maxim,
>
> How does this help ? I'm not sure what I can do with that information ?
> Move that file to the other place ?
>
> Thanks,
> Piotr
>
> pt., 1 cze 2018 o 10:40 Maxim Solodovnik  napisał(a):
>
>> I got
>>
>> apache.melbourneitmirror.net uses an unsupported protocol.
>>
>> ERR_SSL_VERSION_OR_CIPHER_MISMATCH
>>
>> While trying to retrieve
>>
>> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
>> in Chrome browser
>>
>> On Fri, Jun 1, 2018 at 3:30 PM, Piotr Zarzycki
>>  wrote:
>> > The worst thing that I have seen the same as Alex - that there is a
>> problem
>> > with https, not parsing itself. However let me debug it more - maybe I
>> will
>> > find the time in the next days.
>> >
>> > Thanks,
>> > Piotr
>> >
>> > pt., 1 cze 2018 o 09:51 Justin Mclean 
>> napisał(a):
>> >
>> >> Hi,
>> >>
>> >> > I think you've proposed multiple causes.  One is that the cgi isn't
>> >> returning the right thing, the other was that fetching
>> >> apache-flex-installer-config.xml over https was failing.
>> >> > Which one or both are you claiming to be the issue?
>> >>
>> >> Well you were saying that https was the issue and fetching the
>> >> apache-flex-installer-config.xml file via https seems to fail via curl
>> or
>> >> in the browser is failing. The older SDK that are working don’t use
>> https
>> >> to get the config file.
>> >>
>> >> Try for instance this via curl or https:
>> >>
>> >>
>> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
>> >>
>> >>  But the first issue you will run into is the cgi not returning the
>> right
>> >> thing and that would explain the timeout.
>> >>
>> >> > If I just use my browser to hit:
>> >> http://flex.apache.org/single-mirror-url--xml.cgi
>> >> > I am getting the expected single line back.  Can some other folks hit
>> >> this link above?  You should get a single line of text, not even an HTML
>> >> page.   Same with using CURL.  I only get one line of text back.
>> >>
>> >> I get the HTML page:
>> >>
>> >> MacBook-Pro:~ justinmclean$curl -v
>> >> http://flex.apache.org/single-mirror-url--xml.cgi
>> >> *   Trying 40.79.78.1...
>> >> * TCP_NODELAY set
>> >> * Connected to flex.apache.org (40.79.78.1) port 80 (#0)
>> >> > GET /single-mirror-url--xml.cgi HTTP/1.1
>> >> > Host: flex.apache.org
>> >> > User-Agent: curl/7.54.0
>> >> > Accept: */*
>> >> >
>> >> < HTTP/1.1 200 OK
>> >> < Date: Fri, 01 Jun 2018 07:28:59 GMT
>> >> < Server: Apache/2.4.18 (Ubuntu)
>> >> < Vary: Host,Accept-Encoding
>> >> < Transfer-Encoding: chunked
>> >> < Content-Type: text/html
>> >> <
>> >> 
>> >> 
>> >> 
>> >>   
>> >>   
>> >>   
>> >>   
>> >>   https://www.apache.org/dyn/closer.cgi"; />
>> >>
>> >> etc ect
>> >>
>> >> * Connection #0 to host flex.apache.org left intact
>> >> MacBook-Pro:~ justinmclean$
>> >>
>> >> If I run the installer in the debugger it also returns the whole page
>> and
>> >> the mirror URL ends up as that html content as well with a few letters
>> off
>> >> the start and end.
>> >>
>> >> Thanks,
>> >> Justin
>> >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>> > Patreon: *https://www.patreon.com/piotrzarzycki
>> > *
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *



-- 
WBR
Maxim aka solomax


Re: Installer is Timing Out.

2018-06-01 Thread Justin Mclean
Hi,

> The worst thing that I have seen the same as Alex - that there is a problem
> with https, not parsing itself. 

If it is an https issue like this (one of the possible mirrors that can be 
returned)
https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
 


I can’t see how we could easily solve it as it likely at the mirrors end. (Open 
that URL in a browser and see what you get.)

It may be that SSL in not supported on all Apache mirrors, perhaps on purpose?? 
Has anyone asked infra? I have no idea if this is the case or not and a quick 
search of teh documentation doesn’t mention https and mirrors.

I know that the KEY files and hashes need to checked via SSL and not placed on 
mirrors, but all mirror examples use http not https and there is this JIRA 
which suggests that https requests need to redirect and return 301s. [1] (which 
is moved permanently)

Thanks,
Justin

1. https://issues.apache.org/jira/browse/INFRA-13442



Re: Installer is Timing Out.

2018-06-01 Thread Piotr Zarzycki
Hi Maxim,

How does this help ? I'm not sure what I can do with that information ?
Move that file to the other place ?

Thanks,
Piotr

pt., 1 cze 2018 o 10:40 Maxim Solodovnik  napisał(a):

> I got
>
> apache.melbourneitmirror.net uses an unsupported protocol.
>
> ERR_SSL_VERSION_OR_CIPHER_MISMATCH
>
> While trying to retrieve
>
> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
> in Chrome browser
>
> On Fri, Jun 1, 2018 at 3:30 PM, Piotr Zarzycki
>  wrote:
> > The worst thing that I have seen the same as Alex - that there is a
> problem
> > with https, not parsing itself. However let me debug it more - maybe I
> will
> > find the time in the next days.
> >
> > Thanks,
> > Piotr
> >
> > pt., 1 cze 2018 o 09:51 Justin Mclean 
> napisał(a):
> >
> >> Hi,
> >>
> >> > I think you've proposed multiple causes.  One is that the cgi isn't
> >> returning the right thing, the other was that fetching
> >> apache-flex-installer-config.xml over https was failing.
> >> > Which one or both are you claiming to be the issue?
> >>
> >> Well you were saying that https was the issue and fetching the
> >> apache-flex-installer-config.xml file via https seems to fail via curl
> or
> >> in the browser is failing. The older SDK that are working don’t use
> https
> >> to get the config file.
> >>
> >> Try for instance this via curl or https:
> >>
> >>
> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
> >>
> >>  But the first issue you will run into is the cgi not returning the
> right
> >> thing and that would explain the timeout.
> >>
> >> > If I just use my browser to hit:
> >> http://flex.apache.org/single-mirror-url--xml.cgi
> >> > I am getting the expected single line back.  Can some other folks hit
> >> this link above?  You should get a single line of text, not even an HTML
> >> page.   Same with using CURL.  I only get one line of text back.
> >>
> >> I get the HTML page:
> >>
> >> MacBook-Pro:~ justinmclean$curl -v
> >> http://flex.apache.org/single-mirror-url--xml.cgi
> >> *   Trying 40.79.78.1...
> >> * TCP_NODELAY set
> >> * Connected to flex.apache.org (40.79.78.1) port 80 (#0)
> >> > GET /single-mirror-url--xml.cgi HTTP/1.1
> >> > Host: flex.apache.org
> >> > User-Agent: curl/7.54.0
> >> > Accept: */*
> >> >
> >> < HTTP/1.1 200 OK
> >> < Date: Fri, 01 Jun 2018 07:28:59 GMT
> >> < Server: Apache/2.4.18 (Ubuntu)
> >> < Vary: Host,Accept-Encoding
> >> < Transfer-Encoding: chunked
> >> < Content-Type: text/html
> >> <
> >> 
> >> 
> >> 
> >>   
> >>   
> >>   
> >>   
> >>   https://www.apache.org/dyn/closer.cgi"; />
> >>
> >> etc ect
> >>
> >> * Connection #0 to host flex.apache.org left intact
> >> MacBook-Pro:~ justinmclean$
> >>
> >> If I run the installer in the debugger it also returns the whole page
> and
> >> the mirror URL ends up as that html content as well with a few letters
> off
> >> the start and end.
> >>
> >> Thanks,
> >> Justin
> >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > *
>
>
>
> --
> WBR
> Maxim aka solomax
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Installer is Timing Out.

2018-06-01 Thread Maxim Solodovnik
I got

apache.melbourneitmirror.net uses an unsupported protocol.

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

While trying to retrieve
https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
in Chrome browser

On Fri, Jun 1, 2018 at 3:30 PM, Piotr Zarzycki
 wrote:
> The worst thing that I have seen the same as Alex - that there is a problem
> with https, not parsing itself. However let me debug it more - maybe I will
> find the time in the next days.
>
> Thanks,
> Piotr
>
> pt., 1 cze 2018 o 09:51 Justin Mclean  napisał(a):
>
>> Hi,
>>
>> > I think you've proposed multiple causes.  One is that the cgi isn't
>> returning the right thing, the other was that fetching
>> apache-flex-installer-config.xml over https was failing.
>> > Which one or both are you claiming to be the issue?
>>
>> Well you were saying that https was the issue and fetching the
>> apache-flex-installer-config.xml file via https seems to fail via curl or
>> in the browser is failing. The older SDK that are working don’t use https
>> to get the config file.
>>
>> Try for instance this via curl or https:
>>
>> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
>>
>>  But the first issue you will run into is the cgi not returning the right
>> thing and that would explain the timeout.
>>
>> > If I just use my browser to hit:
>> http://flex.apache.org/single-mirror-url--xml.cgi
>> > I am getting the expected single line back.  Can some other folks hit
>> this link above?  You should get a single line of text, not even an HTML
>> page.   Same with using CURL.  I only get one line of text back.
>>
>> I get the HTML page:
>>
>> MacBook-Pro:~ justinmclean$curl -v
>> http://flex.apache.org/single-mirror-url--xml.cgi
>> *   Trying 40.79.78.1...
>> * TCP_NODELAY set
>> * Connected to flex.apache.org (40.79.78.1) port 80 (#0)
>> > GET /single-mirror-url--xml.cgi HTTP/1.1
>> > Host: flex.apache.org
>> > User-Agent: curl/7.54.0
>> > Accept: */*
>> >
>> < HTTP/1.1 200 OK
>> < Date: Fri, 01 Jun 2018 07:28:59 GMT
>> < Server: Apache/2.4.18 (Ubuntu)
>> < Vary: Host,Accept-Encoding
>> < Transfer-Encoding: chunked
>> < Content-Type: text/html
>> <
>> 
>> 
>> 
>>   
>>   
>>   
>>   
>>   https://www.apache.org/dyn/closer.cgi"; />
>>
>> etc ect
>>
>> * Connection #0 to host flex.apache.org left intact
>> MacBook-Pro:~ justinmclean$
>>
>> If I run the installer in the debugger it also returns the whole page and
>> the mirror URL ends up as that html content as well with a few letters off
>> the start and end.
>>
>> Thanks,
>> Justin
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *



-- 
WBR
Maxim aka solomax


Re: Installer is Timing Out.

2018-06-01 Thread Piotr Zarzycki
The worst thing that I have seen the same as Alex - that there is a problem
with https, not parsing itself. However let me debug it more - maybe I will
find the time in the next days.

Thanks,
Piotr

pt., 1 cze 2018 o 09:51 Justin Mclean  napisał(a):

> Hi,
>
> > I think you've proposed multiple causes.  One is that the cgi isn't
> returning the right thing, the other was that fetching
> apache-flex-installer-config.xml over https was failing.
> > Which one or both are you claiming to be the issue?
>
> Well you were saying that https was the issue and fetching the
> apache-flex-installer-config.xml file via https seems to fail via curl or
> in the browser is failing. The older SDK that are working don’t use https
> to get the config file.
>
> Try for instance this via curl or https:
>
> https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml
>
>  But the first issue you will run into is the cgi not returning the right
> thing and that would explain the timeout.
>
> > If I just use my browser to hit:
> http://flex.apache.org/single-mirror-url--xml.cgi
> > I am getting the expected single line back.  Can some other folks hit
> this link above?  You should get a single line of text, not even an HTML
> page.   Same with using CURL.  I only get one line of text back.
>
> I get the HTML page:
>
> MacBook-Pro:~ justinmclean$curl -v
> http://flex.apache.org/single-mirror-url--xml.cgi
> *   Trying 40.79.78.1...
> * TCP_NODELAY set
> * Connected to flex.apache.org (40.79.78.1) port 80 (#0)
> > GET /single-mirror-url--xml.cgi HTTP/1.1
> > Host: flex.apache.org
> > User-Agent: curl/7.54.0
> > Accept: */*
> >
> < HTTP/1.1 200 OK
> < Date: Fri, 01 Jun 2018 07:28:59 GMT
> < Server: Apache/2.4.18 (Ubuntu)
> < Vary: Host,Accept-Encoding
> < Transfer-Encoding: chunked
> < Content-Type: text/html
> <
> 
> 
> 
>   
>   
>   
>   
>   https://www.apache.org/dyn/closer.cgi"; />
>
> etc ect
>
> * Connection #0 to host flex.apache.org left intact
> MacBook-Pro:~ justinmclean$
>
> If I run the installer in the debugger it also returns the whole page and
> the mirror URL ends up as that html content as well with a few letters off
> the start and end.
>
> Thanks,
> Justin



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: Installer is Timing Out.

2018-06-01 Thread Justin Mclean
Hi,

> I think you've proposed multiple causes.  One is that the cgi isn't returning 
> the right thing, the other was that fetching apache-flex-installer-config.xml 
> over https was failing.  
> Which one or both are you claiming to be the issue?

Well you were saying that https was the issue and fetching the 
apache-flex-installer-config.xml file via https seems to fail via curl or in 
the browser is failing. The older SDK that are working don’t use https to get 
the config file.

Try for instance this via curl or https:
https://apache.melbourneitmirror.net/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml

 But the first issue you will run into is the cgi not returning the right thing 
and that would explain the timeout.

> If I just use my browser to hit: 
> http://flex.apache.org/single-mirror-url--xml.cgi
> I am getting the expected single line back.  Can some other folks hit this 
> link above?  You should get a single line of text, not even an HTML page.   
> Same with using CURL.  I only get one line of text back.

I get the HTML page:

MacBook-Pro:~ justinmclean$curl -v 
http://flex.apache.org/single-mirror-url--xml.cgi
*   Trying 40.79.78.1...
* TCP_NODELAY set
* Connected to flex.apache.org (40.79.78.1) port 80 (#0)
> GET /single-mirror-url--xml.cgi HTTP/1.1
> Host: flex.apache.org
> User-Agent: curl/7.54.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Fri, 01 Jun 2018 07:28:59 GMT
< Server: Apache/2.4.18 (Ubuntu)
< Vary: Host,Accept-Encoding
< Transfer-Encoding: chunked
< Content-Type: text/html
< 



  
  
  
  
  https://www.apache.org/dyn/closer.cgi"; />

etc ect

* Connection #0 to host flex.apache.org left intact
MacBook-Pro:~ justinmclean$ 

If I run the installer in the debugger it also returns the whole page and the 
mirror URL ends up as that html content as well with a few letters off the 
start and end.

Thanks,
Justin

Re: Installer is Timing Out.

2018-06-01 Thread Alex Harui
Hi Justin,

I think you've proposed multiple causes.  One is that the cgi isn't returning 
the right thing, the other was that fetching apache-flex-installer-config.xml 
over https was failing.  Which one or both are you claiming to be the issue?

If I just use my browser to hit: 
http://flex.apache.org/single-mirror-url--xml.cgi
I am getting the expected single line back.  Can some other folks hit this link 
above?  You should get a single line of text, not even an HTML page.   Same 
with using CURL.  I only get one line of text back.

-Alex


On 5/31/18, 10:35 PM, "Justin Mclean"  wrote:

Hi,

> That doesn't sound like what I saw when I debugged into it last week, but 
if you are right, then it sounds like you can prepare a fix for it.

I’ve run into through a reverse proxy to record the installers traffic and 
also though the debugger and both match. Perhaps there was also a different 
issue last week or we also have another issue that occurs after this step. But 
note that the call to that cgi script is http call not a https call when made 
by the installer. I’ve include the response to the cgi script below as seen by 
the reverse proxy. You’ll can also see that 5K is a lot bigger than the 
expected response should be.

Sorry I’m running back to back courses on the weekend and all next week 
(inter state) and then off to Berlin for The Apache Roadshow the week after so 
I'm not sure when I’ll have time over the next couple of weeks to fix it. It 
should just be a simple mater of changing the cgi script / web site config to 
produce what that installer expects and there no need to change the installer 
code or make a new release of the installer. This could be probably easily 
tested by briefly putting up a hard coded response in replace of that cgi 
script to see if the current installer works with that.

Thanks,
Justin

Reverse proxy request:

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fflex.apache.org%2Fsingle-mirror-url--xml.cgi&data=02%7C01%7Caharui%40adobe.com%7Cfd4e314adc7741d747a408d5c7816fc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634281130451434&sdata=O9nfK6AW68caytlSJV%2BlKIJoSnGGbeiDL%2Bkx8m9ZswA%3D&reserved=0
Complete
200 OK
Total size: 5.14 KB (5268 bytes)
72.6% (gzip)

Reverse proxy response:



  
  
  
  
  https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.apache.org%2Fdyn%2Fcloser.cgi&data=02%7C01%7Caharui%40adobe.com%7Cfd4e314adc7741d747a408d5c7816fc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634281130451434&sdata=NLcVNejk18DywgVnwScu3Y53Sho1GGuutbk7qJmpRb4%3D&reserved=0";
 />
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  Apache Download Mirrors
  
  








  

  

  

  Toggle navigation
  
  
  


  
  
Home » Dyn

  
About 

Overview
Members
Process
Sponsorship
Glossary
FAQ
Code of Conduct
Contact

  
Projects

People 

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpeople.apache.org%2F&data=02%7C01%7Caharui%40adobe.com%7Cfd4e314adc7741d747a408d5c7816fc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634281130451434&sdata=soAQCoO1Zt6NGblRQJi3nlDR2fUZM0r8Cvb8Gyeq2Mc%3D&reserved=0";>Overview
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpeople.apache.org%2Fcommitter-index.html&data=02%7C01%7Caharui%40adobe.com%7Cfd4e314adc7741d747a408d5c7816fc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634281130451434&sdata=yNuPaV7FkkYvQluwgGwU%2BPluNK2d64cgYFZRTtcQqAs%3D&reserved=0";>Committers
Meritocracy
Roles
Code of Conduct
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fplanet.apache.org%2F&data=02%7C01%7Caharui%40adobe.com%7Cfd4e314adc7741d747a408d5c7816fc9%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634281130451434&sdata=IS%2F97ikLM73sAXItSyW1ZevLi2x%2B6LOyTKTDBBVkx9o%3D&rese