Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » EGit https clone
EGit https clone [message #937091] Mon, 08 October 2012 16:48 Go to next message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
I've setup git repositories with smart http support on Ubuntu Linux
(apache2) and enable ssl (https) with self-signed certificate (both secure
and unsecure hosts with basic authentication). Everything works fine with
command line git on linux and mac os. But for eclipse egit (2.1.0) I have
strange results - egit works perfect with http, but completely refuses work
with https claiming "cannot open git-upload-pack". I have tried
http.sslVerify=false, but it does not help, than I've imported Apache
certificate as trusted and again no success. From my point of view egit even
does not try to make authentication for https connection but I could be
wrong (even if I removed authentication requirements from Apache config egit
failed to clone).

If somebody has (had) such a situation - could you point me to what I miss
(must be something very simple).

Best regards,
Sergey.
Re: EGit https clone [message #937819 is a reply to message #937091] Tue, 09 October 2012 09:35 Go to previous messageGo to next message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
May be somebody has success story with EGit and HTTPS?

"Sergey Kuznetsov" wrote in message news:k4v040$4g8$1@xxxxxxxxe.org...

I've setup git repositories with smart http support on Ubuntu Linux
(apache2) and enable ssl (https) with self-signed certificate (both secure
and unsecure hosts with basic authentication). Everything works fine with
command line git on linux and mac os. But for eclipse egit (2.1.0) I have
strange results - egit works perfect with http, but completely refuses work
with https claiming "cannot open git-upload-pack". I have tried
http.sslVerify=false, but it does not help, than I've imported Apache
certificate as trusted and again no success. From my point of view egit even
does not try to make authentication for https connection but I could be
wrong (even if I removed authentication requirements from Apache config egit
failed to clone).

If somebody has (had) such a situation - could you point me to what I miss
(must be something very simple).

Best regards,
Sergey.
Re: EGit https clone [message #937944 is a reply to message #937819] Tue, 09 October 2012 11:58 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 612
Registered: July 2009
Senior Member
Any wrong Eclipse proxy settings which might be in your way?
Re: EGit https clone [message #938004 is a reply to message #937944] Tue, 09 October 2012 13:11 Go to previous messageGo to next message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
Quote:
May be somebody has success story with EGit and HTTPS?


My team uses it every day without any problems. The server is Linux (CentOS), the clients are OS X and Windows. I don't know the server-side details, that's handled by a sysadmin. But I believe it's straightforward Apache.

Re: EGit https clone [message #938046 is a reply to message #937944] Tue, 09 October 2012 13:55 Go to previous messageGo to next message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
Thanks, but it's direct connection (and "pure" git works).

"Matthias Sohn" wrote in message news:k513hs$6ra$1@xxxxxxxxe.org...

Any wrong Eclipse proxy settings which might be in your way?
Re: EGit https clone [message #938052 is a reply to message #938004] Tue, 09 October 2012 13:58 Go to previous messageGo to next message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
Thanks a lot, this makes me believe it is my fault, as always ;) May be you
have a minute to ask your admin about VirtualHost for git sample?

"R Shapiro" wrote in message news:k517p4$jab$1@xxxxxxxxe.org...

Quote:
> May be somebody has success story with EGit and HTTPS?


My team uses it every day without any problems. The server is Linux
(CentOS), the clients are OS X and Windows. I don't know the server-side
details, that's handled by a sysadmin. But I believe it's straightforward
Apache.
Re: EGit https clone [message #938139 is a reply to message #937819] Tue, 09 October 2012 15:31 Go to previous messageGo to next message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
Just to clarify: is this specifically a 'clone' problem? If you clone via command-line Git, do other remote operations like 'push' and 'fetch' work in EGit?

You might also try using the nightly builds of EGit 2.2 rather than the stable 2.1
Re: EGit https clone [message #938275 is a reply to message #938139] Tue, 09 October 2012 18:24 Go to previous message
Sergey Kuznetsov is currently offline Sergey KuznetsovFriend
Messages: 29
Registered: July 2009
Junior Member
This is all about "remote" - neither clone, neither push, neither pull
(fetch) works through https. To make things even more intrigue - if I clone
through http (same server, almost same config) everything works ;(

What makes me almost crazy - my EGit able to clone
https://github.com/eclipse/egit.git... Looks like I've done something very
wrong with my Apache installation... But "pure" git works... ;(

"R Shapiro" wrote in message news:k51g0h$56r$1@xxxxxxxxe.org...

Just to clarify: is this specifically a 'clone' problem? If you clone via
command-line Git, do other remote operations like 'push' and 'fetch' work in
EGit?

You might also try using the nightly builds of EGit 2.2 rather than the
stable 2.1
Previous Topic:Indicator that upstream branch has updated?
Next Topic:Preparing cvs->git Migration: Developer workflow
Goto Forum:
  


Current Time: Sun Dec 21 21:39:53 GMT 2014

Powered by FUDForum. Page generated in 0.04681 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software