I just debug it and it looks like there is some problem with parsing
in MirrorURLUtil - fetchMirrorFromCGIResult. We go following web page [1].
What actually should be parsed out of it ?

How it looked like earlier ?

[1] https://paste.apache.org/gUjj

Thanks,
Piotr


niedz., 3 cze 2018 o 09:50 Maxim Solodovnik <solomax...@gmail.com>
napisał(a):

> Just have double-checked
> You are right, it is plain text and it contains one mirror only
>
> On Fri, Jun 1, 2018 at 11:42 PM, Alex Harui <aha...@adobe.com.invalid>
> wrote:
> > 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" <solomax...@gmail.com> 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
> >     <piotrzarzyck...@gmail.com> wrote:
> >     > Hi Justin,
> >     >
> >     > I see exactly the same thing as Maxim.
> >     >
> >     > This site can’t provide a secure connection
> >     >
> >     > *apache.melbourneitmirror.net <
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache.melbourneitmirror.net&data=02%7C01%7Caharui%40adobe.com%7Cc0eb76c101d14c17dc5808d5c79fdc1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636634411766729056&sdata=qCKE4DBcsE7zvh0XsRjSyUVYWnojkQ7H%2FwNbZNVvn8Q%3D&reserved=0>*
> uses
> >     > an unsupported protocol.
> >     > ERR_SSL_VERSION_OR_CIPHER_MISMATCH
> >     >
> >     > Thanks,
> >     > Piotr
> >     >
> >     > pt., 1 cze 2018 o 10:57 Justin Mclean <justinmcl...@me.com>
> 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
> >     > <
> 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
> >*
> >
> >
> >
> >     --
> >     WBR
> >     Maxim aka solomax
> >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>


-- 

Piotr Zarzycki

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

Reply via email to