Cloning the Git Repository on Eclipse Transport Error

+2 votes

I have a web application on Bluemix and linked with a git repository.

I'm working on Eclipse and made some changes on the project. Now, I have the last version of the project in Local and Bluemix side and need to update the repository.

As a first step, I am trying to clone the Git repository (on Eclipse). After I fill the URI and authentication fields, I am getting the error that is shown below. I can pass over SSL error by setting http.sslVerify=false but cannot solve the others.

org.eclipse.egit.ui
 Error
 Thu Apr 23 12:46:33 EEST 2015
 https://hub.jazz.net/git/***/***: authentication not supported
 org.eclipse.jgit.api.errors.TransportException: https://hub.jazz.net/git/***/***: authentication not supported
     at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223)
     at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
     at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
     at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:34)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
 Caused by: org.eclipse.jgit.errors.TransportException: https://hub.jazz.net/git/***/***: authentication not supported
     at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:494)
     at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309)
     at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:202)
     ... 4 more
Jul 23, 2018 in Git & GitHub by Hannah
• 18,520 points
24,253 views
Try changing the URL.
Yes I did, it did not work!

Are you able to clone the repo from command line Git?

Yes, I have successfully cloned it using command line Git. But what I do not understand is why am I not able to clone is using Eclipse. 

3 answers to this question.

+1 vote
Best answer
File/Import...
Select dialog
* Git/Projects from Git
* click next
Select Repository Source dialog
* Clone URI
* click next
Source Git Repository dialog
* from Settings page
* copy the Git URL
(Host and Repository Path should populate)
* populate User and Password with your IBM ID
* click next
Branch Selection dialog
* (master should be selected)
* click next
Local Destination dialog
* select a local destination
* click next
Select a wizard to use for importing projects dialog
* (Import existing projects should be selected)
* click finish

Try this… it worked for me

answered Jul 23, 2018 by Kalgi
• 52,350 points

selected May 7, 2019 by Vardhan
+1 vote

Try installing TortoiseGit, execute a few commands and then try again with Eclipse. Might work, not sure. I read this somewhere.

answered Apr 24, 2019 by Nilay
+1 vote

Check if you've switched on two-factor authentication ON in Git. If you have then when you connect from browser it should authenticate properly and connect. But when you do it from eclipse it only checks normal credentials and fails to authenticate.

answered May 6, 2019 by Garima
Change the protocol from https to http while cloning the repository from git .This worked for me. I faced the same problem and got resolved by doing this.
I got the same error. I'll try this and let you know. Thanks
Hi

I am facing the same issue. Were you able to resolve this?

Thanks
Hi @Km.

Kalgi's solution worked for me. Did you try that?
You are a F***ing Genius

Related Questions In Git & GitHub

0 votes
1 answer
0 votes
2 answers

How to view the nested workflow of a local git repository?

The closest way to view branches in ...READ MORE

answered Aug 2, 2019 in Git & GitHub by Sirajul
• 59,230 points
1,601 views
0 votes
1 answer

How to solve the ‘Git commit -a error’?

This happens when no editor is set. ...READ MORE

answered Jul 5, 2018 in Git & GitHub by Tyrion anex
• 8,700 points
2,349 views
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
+1 vote
4 answers

GIT plugin in jenkins not able to connect to GIT repository

This looks like a git configuration issue, ...READ MORE

answered Oct 25, 2018 in Git & GitHub by Alia
19,829 views
0 votes
1 answer

gerrit-cherry-pick:fatal: 'origin' does not appear to be a git repository

The user account making that command does ...READ MORE

answered Aug 13, 2018 in Git & GitHub by Kalgi
• 52,350 points
1,941 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP