Maslor
Maslor

Reputation: 1910

Can't fetch from private repository with EGit

I am trying to synchronise my eclipse java project with my private git repository using EGit plug-in but I'm being unsuccessful. I have configured the remote origin as:

URI: [email protected]:username/project.git

Host: github.com

Repository path: username/project.git

Unfortunately, when I try to fetch, I get this error:

[email protected]:Maslor/wfmgr.git: ProxyHTTP: java.io.IOException: proxy error: >Forbidden [email protected]:Maslor/wfmgr.git: ProxyHTTP: java.io.IOException: proxy error: >Forbidden [email protected]:Maslor/wfmgr.git: ProxyHTTP: java.io.IOException: proxy error: >Forbidden

I am using a proxy, does that mean I have to configure EGit's proxy settings, if there are any? How can I do that?

Upvotes: 5

Views: 4920

Answers (2)

VonC
VonC

Reputation: 1328212

There is a pending issue: bug 349702 EGit tries to use HTTP proxy for SSH connect.

If you don't need the proxy when connecting to ssh, try and remove said proxy.
Or use a proxy bypass, as illustrated in this bug report.

https://issues.jboss.org/secure/attachment/12362176/12362176_bypass-proxy.png

If not, try an https url (provided you have a username/password associated to the remote repo server)

Upvotes: 6

edi9999
edi9999

Reputation: 20574

You can try ssh [email protected] to first see if it is a problem with your IDE or also global to your system.

I then suggest you to follow this : SSH in git behind proxy on windows 7

Upvotes: 0

Related Questions