问题
when I try to checkout from git in eclipse Luna it says
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. )
- I am on proxy. its port is 8080 for all http/https.
- I am on Java8
- also configured
-Djava.net.preferIPv4Stack=true
From command line everything works fine. By default eclipse reads IE/System proxy settings. I have kept them same.
UPDATE : Issue resolved. Bypassing proxy for our git repo did the trick.
回答1:
As the error message says, Eclipse connects to the proxy on the wrong port. It would be nice of the software to tell you which port that is but try to set the HTTPS proxy settings in Eclipse's preferences to 443 (as mentioned in the error message).
Or contact your system admins to ask how to configure the proxy settings for HTTPS.
来源:https://stackoverflow.com/questions/24550742/eclipse-luna-git-checkout-ssl-fails