Github plugin is not using proxy settings
Hi all,
Using IntelliJ Idea 14.1 on Windows 7.
I'm trying to use the Github integration plugin to create a New Project From Version Control through Github.
Well, I have the IDE settings configured to connect through a proxy with credentials. That works fine, because I can download and install
plugins and so on.
The problem is that the Github plugin seems not being using the proxy settings, because when I try to clone any project I receive this error message:
Clone failed
unable to access 'https://github.co/eyp/Xarcade2Jstick.git/': Received HTTP code 407 from proxy after CONNECT
The 407 error means the proxy needs credentials. I've tried to config git adding the property http.proxy as http://username:password@myproxyIP:port with:
git config --global --add http.proxy http://username:password@myproxyIP:port
but it didn't work either.
Furthermore, I've tried to use the cntlm proxy, but without success, I get the error: 'Proxy returning invalid challenge!'
Also I've tried it adding some properties in the idea.exe.vmoptions file, but I get the same 407 error:
-Dhttp.proxyHost=myProxyIP -Dhttp.proxyPort=myProxyPort -Dhttp.proxyUser=myUsername -Dhttp.proxyPassword=myPassword -Dhttps.proxyHost=myProxyIP -Dhttps.proxyPort=myProxyPort -Dhttps.proxyUser=myUsername -Dhttps.proxyPassword=myPassword
Any ideas on how to solve this?
Thanks in advance.
请先登录再写评论。
Can you clone from GitHub using the command line git client in the terminal?
Did you configure the proxy correctly in IDEA: https://www.jetbrains.com/idea/help/http-proxy.html ?
I think the proxy in IntelliJ is well configured because I can install plugins.

Can you clone from GitHub using the command line git client in the terminal?
No, I've tried to config git adding the property http.proxy as http://username:password@myproxyIP:port with:
git config --global --add http.proxy http://username:password@myproxyIP:port
but it didn't work either. I don't know why because I can connect to the plugins repository through IntelliJ, I can
browse Github repos through the browser....
In this case you should resolve git client connection issues in the command line first, then it will work from IDEA.
For some reason git client doesn't want to work via your proxy. Double check user/password configuration. If it still doesn't work, you can direct your question to Git community or ask it at http://stackoverflow.com/ .
See here for the related question: http://stackoverflow.com/questions/16153450/github-windows-client-behind-proxy .
Forget it... I don't know what have happened, but now, after three days trying it... it works, through the IDE and through the command line! ?:|
May be something in the proxy, or I don't know. I can't talk to the system admins that manage the proxy, so....
Thanks anyway for all.