I'm getting one request to url -> " http://flex.apache.org/single-mirror-url--xml.cgi" when installer is started and it uses MirrorURLUtil - fetchMirrorFromCGIResult. In the result I'm getting there url -> "http://ftp.ps.pl/pub/apache/"
Next I'm clicking "Next" and ApacheURLLoader is being called - method load with url -> " https://www.apache.org/dist/flex/4.16.1/binaries/apache-flex-sdk-installer-config.xml" - Then I'm getting timeout, no involvement of method MirrorURLUtil - fetchMirrorFromCGIResult. I'm not sure what I have seen in the first try, now I'm having exactly above scenario all the time. No scenario which you have pointed Justin anymore. niedz., 3 cze 2018 o 14:25 Justin Mclean <justinmcl...@me.com> napisał(a): > Hi, > > > 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 ? > > Yes you’re seeing what I saw, that’s the full HTML rather than XML result > returned. I’m guessing It may be inconsistent depending on where you are. > I’ve not looked at the code in detail but I'm wondering does it make two > requests to that URL? > > If it makes two requests A and B and A returns HTML and B returns XML it > may be that we may have a timing issue. > > For fast connections A gets results right away and then B get results > straight away, but for slower requests A result could occur after B results > return. > > In one case: > Call A is made > Call A returns a lot of HTML > Call B is made > Call B returns short XML > > In the other case: > Cal A is made > Call B is made > Call B returns short XML > Call A returns a lot of HTML > > No idea if this is the case but just suggesting it as a possible > explanation that seems to fit what is going on. > > Thanks, > Justin -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*