You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2020/07/07 00:33:42 UTC

[GitHub] [tomcat] sekikn opened a new pull request #318: Use https for dependency download URL

sekikn opened a new pull request #318:
URL: https://github.com/apache/tomcat/pull/318


   I tried to build Tomcat 8.5.50 and ran into the following error:
   
   ```
   ~/repos/tomcat$ git checkout 8.5.50
   ~/repos/tomcat$ ant dist-static
   
   (snip)
   
   trydownload:
         [get] Getting: http://www.apache.org/dyn/closer.lua?action=download&filename=/tomcat/tomcat-connectors/native/1.2.23/binaries/tomcat-native-1.2.23-openssl-1.1.1c-win32-bin.zip
         [get] To: /home/sekikn/tomcat-build-libs/download-2064114466.zip
         [get] http://www.apache.org/dyn/closer.lua?action=download&filename=/tomcat/tomcat-connectors/native/1.2.23/binaries/tomcat-native-1.2.23-openssl-1.1.1c-win32-bin.zip moved to https://ftp.jaist.ac.jp/pub/apache//tomcat/tomcat-connectors/native/1.2.23/binaries/tomcat-native-1.2.23-openssl-1.1.1c-win32-bin.zip
         [get] https://ftp.jaist.ac.jp/pub/apache//tomcat/tomcat-connectors/native/1.2.23/binaries/tomcat-native-1.2.23-openssl-1.1.1c-win32-bin.zip moved to http://ftp.jaist.ac.jp/pub/apache/tomcat/tomcat-connectors/native/1.2.23/binaries/tomcat-native-1.2.23-openssl-1.1.1c-win32-bin.zip
   
   BUILD FAILED
   /home/sekikn/repos/tomcat/build.xml:2879: The following error occurred while executing this line:
   /home/sekikn/repos/tomcat/build.xml:3113: The following error occurred while executing this line:
   /home/sekikn/repos/tomcat/build.xml:3188: Redirection detected from https to http. Protocol switch unsafe, not allowed.
   
   Total time: 1 second
   ```
   
   Tomcat native connector 1.2.23 is not published on the Apache download site now, so ant tries to fall back to the Apache archive site, but that action is regarded as unsafe. Users can avoid this by overriding the "base-apache.loc.1" property, but it's a bit bothering so I'd like to fix the default value.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] sekikn commented on pull request #318: Use https for dependency download URL

Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #318:
URL: https://github.com/apache/tomcat/pull/318#issuecomment-654547586


   Sorry, I've just noticed it's a problem for Ant and has been fixed in its latest release.
   https://bz.apache.org/bugzilla/show_bug.cgi?id=62164


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] sekikn commented on pull request #318: Use https for dependency download URL

Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #318:
URL: https://github.com/apache/tomcat/pull/318#issuecomment-654534409


   Oh, I confirmed this PR worked locally, but it looks like it can occur another problem on CI.
   Will close this for now. Sorry.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] sekikn closed pull request #318: Use https for dependency download URL

Posted by GitBox <gi...@apache.org>.
sekikn closed pull request #318:
URL: https://github.com/apache/tomcat/pull/318


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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