Hi,
Am new to Egit - Bitbucket. Up until 3-4 weeks ago I was able to pull/push with remote repository in Bitbucket. I'm using Eclipse 4.3.1 with Egit plugins 4.3. Reason i'm still with this version of eclipse is that it's the only version can be used to support our reporting development for Maximo.
This is in the error log
!ENTRY org.eclipse.egit.ui 4 0 2018-12-14 09:55:36.625!MESSAGE https://xxx@bitbucket.org/xxx_xxx/xxxxxxx.git: cannot open git-upload-pack!STACK 0org.eclipse.jgit.api.errors.TransportException: https://xxx@bitbucket.org/xxx_xxx/xxxxxxx.git: cannot open git-upload-pack at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:134) at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:267) at org.eclipse.egit.core.op.PullOperation$1.run(PullOperation.java:193) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345) at org.eclipse.egit.core.op.PullOperation.execute(PullOperation.java:225) at org.eclipse.egit.ui.internal.pull.PullOperationUI.execute(PullOperationUI.java:156) at org.eclipse.egit.ui.internal.pull.PullOperationUI$1.runInWorkspace(PullOperationUI.java:131) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)Caused by: org.eclipse.jgit.errors.TransportException: https://xxx@bitbucket.org/xxx_xxx/xxxxxxx.git: cannot open git-upload-pack at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:510) at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:288) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128) ... 8 moreCaused 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:190) at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:461) ... 13 more
Any clue?
"handshake_failure" suggests that you're unable to connect over HTTPS due to the recent TLS version changes on Bitbucket (https://bitbucket.org/blog/deprecating-tlsv1-tlsv1-1-2018-12-01). Eclipse relies on its Java runtime to handle those connections, so you'll either need to update Java, switch to SSH for your repos, or upgrade Eclipse altogether.
It looks like you're new here. Sign in or register to get started.