V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
zktz
V2EX  ›  GitHub

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

  •  
  •   zktz · 2016-04-26 14:32:38 +08:00 · 2702 次点击
    这是一个创建于 3167 天前的主题,其中的信息可能已经有所发展或是发生改变。

    具体过程如下: 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.

    • What went wrong: A problem occurred configuring root project 'scratch-flash-master'.

    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 。

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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2647 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 04:10 · PVG 12:10 · LAX 20:10 · JFK 23:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.