【问题标题】:Eclipse Luna git checkout ssl failsEclipse Luna git checkout ssl 失败
【发布时间】:2014-07-03 10:06:27
【问题描述】:

当我尝试在 eclipse Luna 中从 git 结帐时,它说

git@-myrepo:myproj-.git: ProxyHTTP: java.io.IOException: proxy error: Proxy Error ( The specified Secure Sockets Layer (SSL) port is not allowed. Forefront TMG is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests.  )
git@-myrepo:myproj-.git: ProxyHTTP: java.io.IOException: proxy error: Proxy Error ( The specified Secure Sockets Layer (SSL) port is not allowed. Forefront TMG is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests.  )
  • 我是代理。对于所有 http/https,它的端口是 8080。
  • 我在 Java8 上
  • 还配置了-Djava.net.preferIPv4Stack=true

从命令行一切正常。 默认情况下,eclipse 读取 IE/系统代理设置。我让它们保持不变。

更新:问题已解决。绕过我们的 git 存储库的代理就可以了。

【问题讨论】:

    标签: eclipse git m2eclipse jgit


    【解决方案1】:

    正如错误消息所说,Eclipse 连接到错误端口上的代理。最好让软件告诉您是哪个端口,但尝试将 Eclipse 首选项中的 HTTPS 代理设置设置为 443(如错误消息中所述)。

    或联系您的系统管理员,询问如何为 HTTPS 配置代理设置。

    【讨论】:

    • proxy https via 8080 只能工作(我可以看到来自 IE/FF 的页面)。我还配置了 -Dhttp.proxyPort=8080 -Dhttp.proxyHost= -Dhttps.proxyPort=8080 为什么要到 443 ?也试过 443 但它失败了。连接超时 -Dhttps.proxyHost=
    • Eclipse 使用 8080(可能)。但是您的代理拒绝连接说“您必须使用端口 443。”
    • 问题已解决。绕过 git 的代理似乎更好。因为这似乎是个问题。
    • @JigarShah:我明白了。请为有相同问题的其他人回答您自己的问题。
    猜你喜欢
    • 1970-01-01
    • 2018-04-16
    • 2014-11-15
    • 2021-10-03
    • 2014-08-19
    • 2018-06-24
    • 2017-12-17
    • 1970-01-01
    • 2012-04-26
    相关资源
    最近更新 更多