How to clone from Bitbucket on Eclipse behind an auth proxy - eclipse

I'm having problems to clone a git repository from bitbucket on eclipse, the fact is that I can clone from other sites like github, but not from bitbucket. The auth proxy on my company allows me to go out only with http and https, so I cannot use ssh.
The url I am using to clone in eclipse is: https://mybituser#bitbucket.org/mybituser/test-bitbucket.git
I have eclipse configured to work behind the auth proxy, Window->Preferences->General->Network Connections.
I've tested this on eclipse kepler and juno and shows the same error.
When I try to clone from bitbucket, I complete the wizard until the last step(view branches, selecting destination folder, etc) but when I hit finish appears the error dialog:
https://bitbucket.org/mybituser/test-bitbucket.git: cannot open git-upload-pack
Anyone knows what can be happening here?
Thank you,

Related

Unable to clone GitHub repo in eclipse

I have EGit 5.11.1 plugin installed in Eclipse Luna 4.4.2.
I'm trying to clone my private GitHub repository in Eclipse using the HTTPS URI.
Getting the below error. I have configured HTTPS.sslVerify and HTTP.sslVerify as false as suggested in some other posts. I'm not using any proxy server
Also, the git clone of the same URL above works fine from git bash and strangely does not even ask for the user name password.

Eclipse git error when pushing to remote: Transport Error: Cannot get remote repository refs

I started a Static Web Project in Eclipse to share the project in a remote Git repository as a backup and to possibly share with others.
Created a git repository in the project's folder C:\workspace\projectname.
Committed (added/staged) everything in the C:\workspace\projectname including the .project file and everything in the C:\workspace\projectname\.settings directory as initial commit (because I thought I want to be able to clone the project again from the repository in the future).
Created a remote repository at rocketgit due to its simpler features and ToS.
After everything had been commited, I right clicked the project's repository in the Git Repository view in Eclipse, clicked Remote -> Push.
I entered https as protocol, rocketgit.com as host, users/username/repositoryname as repository path. Entered my username and password, clicked Next.
But a Problem Occurred dialog shows up, with detail `Transport Error:
Cannot get remote repository refs.
https://rocketgit.com/users/username/repositoryname: https://rocketgit.com/users/username/repositoryname/info/refs?service=git-upload-pack not found`.
How do I resolve this? What does this error mean? Can someone explain a solution. Thanks
users\username\repositoryname as repository path.
"users\username\repositoryname" looks like a path on your disk, not to a remote repo URL.
A proper URL would be https://yourServer/<user>/<reponame>, or ssh://git#yourServer/<user>/<reponame>.
I don't know which one RockertGit does support, but using GitHub, GitLab or BitBucket would work.

Eclipse, Git and Bitbucket - Can't push - Error 401 Unauthorized

I have a problem with Bitbucket and EGit. I created a new repository on BitBucket and also a new project in Eclipse. When I try to push a commit, I get the following error message:
Can't connect to any repository: https://bitbucket.org/MyName/MyProject.git
(https://bitbucket.org/MyName/MyProject.git: 401 Unauthorized)
I also tried https://MyName#bitbucket.org/MyName/MyProject.git but I got the same error. After creating the commit, I pushed by using the command line with git push and it worked without a problem. After that I tried pushing with Eclipse and EGit but I got the same error again. I checked my account name and password multiple times.
Do I need to configure EGit in some way to make it possible to push from Eclipse to BitBucket? A month ago I always pushed to a repository on a different host from Eclipse with EGit without a problem.
It depends on your version of Eclipse and Egit.
With the very latest Neon, there is a thread reporting the same issue, and a ticket opened: bug 501000.
There is a fix in progress: Change 82187: "EGit Authenticator prevents login dialog".
It is already merged into master (also on the GitHub mirror:commit 39b391c and commit 10c65c7.
Change 82539 also just got merged 3 days ago.
So Marketplace Client Project project repository 1.5.2 should include the fix.
Actually, it is called 1.5.1a, but you can use http://download.eclipse.org/mpc/releases/1.5.2. as an url.
If you are using Eclipse Neon you may also install EPP Marketplace Client from the Neon repository. Click Help > Install New Software, type "neon", select the Neon repository URL, select Collaboration > Eclipse EPP Marketplace Client and click Install.
There is also a fix in progress for EGit itself: change 82295.

Using egit with github and eclipse 3.8.1 on ubuntu 13.10

I am new to eclipse, and I can't figure otu how to set up egit properly to work with github. I made a new local repository, and I've commited some changes, but now I want to get all this code onto github. What should I do? I can't find a solution in the eclipse wiki. I have a github account.
Here is a nice demo that show you step by step video
What you want to do is pulling up repository in eclipse from window -> show view -> other (then find the repository)
After you did that you go to master branch and configure remote then add your SSH key under your github account. Go to your eclipse git destination from remote enter your git account URL, username, password, repository path. All you need to do after that just hit the push.

subclipse Issue after switching to using SVNParentPath

I've had Subclipse set up and working correctly. Recently I needed to create a 2nd repository in SVN for another project in a separate Eclipse workspace. Up to this point my dav_svn.conf file was setup to only provide access to the first repository. So I created the new repository. Then I enabled the SVNParentPath and SVNListParentPath directives, did not change the <Location URL>, and verified that it was working ok by just using my web browser on the client PC and everything was great.
But when I tested it in Eclipse, if I use the SVN Repository Exploring view, Subclipse insists that the repository can't be found - none of the Team functions work. Nor will it list the other repository that should be available at that URL if I just try to create a new repository.
Do I need to relocate the repository via SVN Repository Exploring View? (despite the dire warnings) Or is there actually something wrong with Subclipse?
I'm using Eclipse 3.7.2 on Ubuntu 12.04, along with:
org.tigris.subversion.clientadapter.feature (1.8.6) "Subversion Client Adapter"
org.tigris.subversion.clientadapter.javahl.feature (1.7.10) "Subversion JavaHL"
org.tigris.subversion.clientadapter.svnkit.feature (1.7.9.2) "SVNKit Client Adapter"
org.tigris.subversion.subclipse (1.8.22) "SVN Team Provider Core"
org.tigris.subversion.subclipse.graph.feature (1.1.1) "Subversion Revision Graph"
the subversion repository is hosted on a Ubuntu server (10.04 LTS) and being served via Apache using the dav_svn 'plugin'.
Most likely the URL for the repository has changed, so yes you would need to take the Relocate option so that you can update the URL. Note that you have to give Subclipse the URL to one of your repositories, not to the parent path. No SVN client will accept the URL to the parent. So, for example, the URL needs to be:
http://server.com/svn/repos
not -
http://server.com/svn
I do not believe the message when you do Relocate is "dire" it is just letting you know what it is going to do.