2018-07-26 10:03 GMT+03:00 Michael Osipov <micha...@apache.org>: > Am 2018-07-26 um 00:55 schrieb Konstantin Kolinko: >> >> 2018-07-25 22:33 GMT+03:00 Michael Osipov <micha...@apache.org>: >>> >>> Folks, >>> >>> we need to inquire this with INFRA: >>>> >>>> >>>> PS D:\Entwicklung\Projekte\tomcat-8.5.x> ant >>>> Buildfile: D:\Entwicklung\Projekte\tomcat-8.5.x\build.xml >>>> >>>> download-compile: >>>> >>>> testexist: >>>> [echo] Testing for >>>> >>>> C:\Users\mosipov/tomcat-build-libs/commons-daemon-1.1.0/commons-daemon-1.1.0.jar >>>> >>>> downloadgz-2: >>>> >>>> setproxy: >>>> >>>> trydownload.check: >>>> >>>> trydownload: >>>> [get] Getting: >>>> >>>> https://www.apache.org/dyn/closer.lua?action=download&filename=/commons/daemon/binaries/commons-daemon-1.1.0-bin.tar.gz >>>> [get] To: >>>> C:\Users\mosipov\tomcat-build-libs\download-1214738004.tar.gz >>>> [get] >>>> >>>> https://www.apache.org/dyn/closer.lua?action=download&filename=/commons/daemon/binaries/commons-daemon-1.1.0-bin.tar.gz >>>> moved to >>>> >>>> http://ftp.fau.de/apache//commons/daemon/binaries/commons-daemon-1.1.0-bin.tar.gz >>>> >>>> BUILD FAILED >>>> D:\Entwicklung\Projekte\tomcat-8.5.x\build.xml:2618: The following error >>>> occurred while executing this line: >>>> D:\Entwicklung\Projekte\tomcat-8.5.x\build.xml:2924: The following error >>>> occurred while executing this line: >>>> D:\Entwicklung\Projekte\tomcat-8.5.x\build.xml:3040: Redirection >>>> detected >>>> from https to http. Protocol switch unsafe, not allowed. >> >> >> See >> https://bz.apache.org/bugzilla/show_bug.cgi?id=62164 >> and >> >> https://lists.apache.org/thread.html/f8b04ca6e28e9a9e0fde895df266bec2fd95027791286ab6665dc49a@%3Cdev.tomcat.apache.org%3E >> "Tag Tomcat 7/8.0" thread of 2018-06-28 >> >> >> I think that we have to revert to using HTTP at least for ASF mirror >> in Tomcat configuration, as Ant bug has been fixed in 1.9.13/1.10.5 > > > I have already noticed this one too, but even Ant 1.10.5 does not solve this > issue. As sad as it sounds, can we go back to HTTP for closer.lua for now? I > can't test/compile anything here in Germany unless I change the > build.properties.
The bug in older Ant versions is the reason why we could not use HTTP and switched to HTTPS. We can switch back to HTTP now. Ant allows redirection from an HTTP to an HTTPS address. Redirection from an HTTPS one to an HTTP one is not allowed. If Tomcat configuration uses http. both http and https mirrors can be used. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org