Skip to content

Eclipse EGit "cannot open git-upload-pack" error message

Hi all,

I've been using Gitlab without problems for a couple of months now. But, since last week, I can suddenly not "reach" (fetch, push,...) Gitlab from my Eclipse IDE anymore.

I get the following error message:

https://gitlab.com/XXX/XXX.git: cannot open git-upload-pack

Looking at my Eclipse log file, the cause is:
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java:98)
    at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java:168)
    at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:460)
    ... 10 more

The problem has apparently nothing to do with a bad proxy configuration (no proxy configuration at home...). I tried http.sslVerify=false in my Eclipse/Git configuration but it does not help.

Moreover I found another problem. When I'm logged in my gitlab.com space, if I go to my project page and try to download it as a zip, I got a 16Mb file the first time. But now, when I try again I only get a 1Mb file back, whatever branch I try to download.

So I was wondering if these connection and download problems could result of a configuration change on the gitlab.com web server side ?

Kind regards,

Laurent