用 gradle 下载的时候提示检测到从 https 转到 https 不安全就退出了,怎么能关闭这这个检查呀?

2016-04-26 14:32:38 +08:00
 zktz

具体过程如下: download-osmf-zip: [get] Getting: http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download [get] To: /root/.gradle/gradleFx/sdks/66d0cafb7bdc0d11a929d2ad5ddac64ef8d3131f/in/OSMF_1.0.zip [get] http://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download permanently moved to https://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download [get] https://sourceforge.net/projects/osmf.adobe/files/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip/download moved to http://downloads.sourceforge.net/project/osmf.adobe/OSMF%201.0%20%28final%20source%2C%20ASDocs%2C%20PDF%20guides%2C%20and%20release%20notes%29/OSMF_1.0.zip?r=&ts=1461632584&use_mirror=jaist

FAILURE: Build failed with an exception.

The following error occurred while executing this line: /root/.gradle/gradleFx/sdks/66d0cafb7bdc0d11a929d2ad5ddac64ef8d3131f/frameworks/downloads.xml:125: The following error occurred while executing this line: /root/.gradle/gradleFx/sdks/66d0cafb7bdc0d11a929d2ad5ddac64ef8d3131f/frameworks/downloads.xml:144: Redirection detected from https to http. Protocol switch unsafe, not allowed.

作者在 github 上说这个是 sourceforge.net 配置的问题,说现在应该已经没问题了。但是我从我这里访问,还是会从 http 跳到 https ,再从 https 跳到 http 。

有人需要过这类问题如何解决吗?

2703 次点击
所在节点    GitHub
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/274504

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX