You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2018/08/07 08:41:57 UTC

[Bug 62499] Regression: redirection from HTTP to HTTPS is no longer supported by Get task

https://bz.apache.org/bugzilla/show_bug.cgi?id=62499

--- Comment #2 from Brett Sutton <bs...@noojee.com.au> ---
From the thread I'm left uncertain whether this is a bug when redirecting from
http to https or also when directing from https to http.

I'm unable to build tomcat when mirrors attempt to redirect from http to https.

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: /root/tomcat-build-libs/download-1827083885.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://www.strategylions.com.au/mirror//commons/daemon/binaries/commons-daemon-1.1.0-bin.tar.gz

BUILD FAILED
/root/build_tomcat-with-ssl/parts/tomcat-with-ssl/build/build.xml:2628: The
following error occurred while executing this line:
/root/build_tomcat-with-ssl/parts/tomcat-with-ssl/build/build.xml:2934: The
following error occurred while executing this line:
/root/build_tomcat-with-ssl/parts/tomcat-with-ssl/build/build.xml:3050:
Redirection detected from https to http. Protocol switch unsafe, not allowed.

So is this the same bug that is being fixed or do I need to report a separate
bug.

Redirects of this nature appear to happen at random on a regular basis which
makes building tomcat very hit and miss.

-- 
You are receiving this mail because:
You are the assignee for the bug.