You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Michael Osipov <mi...@apache.org> on 2018/07/25 19:33:12 UTC

[INFRA] Tomcat cannot be built due to back mirrors

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.


I am on
> PS D:\Entwicklung\Projekte\tomcat-8.5.x> ant -version
> Apache Ant(TM) version 1.10.5 compiled on July 10 2018

Do we need to have all HTTP mirrors dropped/checked for HTTPS?

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [INFRA] Tomcat cannot be built due to back mirrors

Posted by Konstantin Kolinko <kn...@gmail.com>.
2018-07-26 10:03 GMT+03:00 Michael Osipov <mi...@apache.org>:
> Am 2018-07-26 um 00:55 schrieb Konstantin Kolinko:
>>
>> 2018-07-25 22:33 GMT+03:00 Michael Osipov <mi...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [INFRA] Tomcat cannot be built due to back mirrors

Posted by Mark Thomas <ma...@apache.org>.
On August 12, 2018 10:34:49 AM UTC, Rainer Jung <ra...@kippdata.de> wrote:
>Am 26.07.2018 um 09:03 schrieb Michael Osipov:
>> Am 2018-07-26 um 00:55 schrieb Konstantin Kolinko:
>>> 2018-07-25 22:33 GMT+03:00 Michael Osipov <mi...@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.
>> 
>> Michael
>
>Same here, noticed during 9.0.11 test build. I agree we should undo the
>
>following part of r1833989 concerning build.properties.default:
>
>-base-apache.loc.1=http://www.apache.org/dyn/closer.lua?action=download&filename=
>+base-apache.loc.1=https://www.apache.org/dyn/closer.lua?action=download&filename=

+1 to reverting that change

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [INFRA] Tomcat cannot be built due to back mirrors

Posted by Rainer Jung <ra...@kippdata.de>.
Am 26.07.2018 um 09:03 schrieb Michael Osipov:
> Am 2018-07-26 um 00:55 schrieb Konstantin Kolinko:
>> 2018-07-25 22:33 GMT+03:00 Michael Osipov <mi...@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.
> 
> Michael

Same here, noticed during 9.0.11 test build. I agree we should undo the 
following part of r1833989 concerning build.properties.default:

-base-apache.loc.1=http://www.apache.org/dyn/closer.lua?action=download&filename=
+base-apache.loc.1=https://www.apache.org/dyn/closer.lua?action=download&filename=

The loc.2 change should be fine, no redirect involved. Only closer.lua 
is problematic.

Regards,

Rainer



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [INFRA] Tomcat cannot be built due to back mirrors

Posted by Michael Osipov <mi...@apache.org>.
Am 2018-07-26 um 00:55 schrieb Konstantin Kolinko:
> 2018-07-25 22:33 GMT+03:00 Michael Osipov <mi...@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.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [INFRA] Tomcat cannot be built due to back mirrors

Posted by Konstantin Kolinko <kn...@gmail.com>.
2018-07-25 22:33 GMT+03:00 Michael Osipov <mi...@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



Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org