EGit + Beanstalk - Auth Fail - eclipse

I have Eclipse 3.5 and EGit 0.9.3 installed. Gitbash can authenticate fine to Beanstalk, but for some reason Eclipse gives me Auth Failed when I try to import/clone a repo into Eclipse.
Also, I don't seem to have git+ssh as a protocol option - why is that? I have copied my files from .ssh to ssh as some other posts have indicated but it still does not work.
I have tried adding git+ssh:// to the URI. I also tried SSH protocol. When I select git protocol, I get an error saying "User not supported on git protocol."
How can I use EGit to work with Beanstalk repositories?

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.

Team Foundation Server - Eclipse and Cross Platform: Unable to clone Git repository using TEE in Eclipse. Error cloning - Not Authorized

I have TFS 2018.2 and Eclipse IDE for Enterprise Java Developers Version 2019-06 (4.12.0). In eclipse I have installed Team Explorer Everywhere plugin and I am able to see all my Git repository however when I try to clone a git repository using the administrator account in TFS I get below error:
Error cloning the <GitName> repository.
http://../..//<GitName>: not authorized.
Clone Error:
Eclipse Version:
Reference Document
In case if the question is placed in the wrong forum path feel free to correct it.
I have tried the resolution provided in https://github.com/microsoft/team-explorer-everywhere#frequently-asked-questions-faq
Also, tried installing latest versions of Egit in Eclipse - https://download.eclipse.org/egit/updates/
I am not sure how to use the older version of Egit to try the import of repository. I seem to have latest version of Egit.
UPDATE:
Apparently I am able to resolve the issue by following below steps:
And creating a Git repository from File menu and then utilizing the 'Copy clone URL' from the first image. Select the newly created repository and perform right click on it to select 'Paste repository path or url' which would ask for authentication and repo would be copied.
However the action items have carried TFS to run into issues:
and
According to your description, I'm afraid you are in the wrong direction to fix this issue.
Your error actually is "not authorized" which is not Authentication not supported. There are totally different issues. Instead of digging into that QA, you should try to figure out why it's not authorized for MyGit repository.
First give a try to use Eclipse with version 4.2 to 4.6 instead of latest according to official link of team-explorer-everywhere.
Supported on Linux, Mac OS X, and Windows. Compatible with IDEs that
are based on Eclipse 4.2 to 4.6.
Besides follow below steps to narrow down the issue:
You should also use git command line by using the administrator
account in TFS and check if you are able to use it to connect/clone
MyGit repository which hosted by TFS server.
Check if your Eclipse can connect to and clone library from any
GitHub repo correctly.
Update or delete cached credentials from Control Panel ->
Credential Manager -> Generic Credentials the password for
git:http://ServerName:xx/

Error 401 Authorization required when pushing to github repository

I've been working with my remote github repository with no problem at all. But since yesterday I'm not able to push to my remote repository anymore.
I work with the eclipse IDE git pluggin and whenever I try to push I am getting this error:
https://github.com/jotaseme/josemaria.moreno.IWVG-doo.miw.upm.es.git:
401 Authorization Required
I've double-checked the user and password and also I've tried with other pc. The same situation: failed pushing to remote repository.
Any suggestion?
Thanks in advance.
Found this gist in one of the eclipse platforms:
In Eclipse
Help -> Install New Software
Work with: http://download.eclipse.org/mpc/releases/1.5.1a
Select the "EPP Marketplace Client"
Proceed with defaults

How to clone from Bitbucket on Eclipse behind an auth proxy

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,

Eclipse / EGit can only connect after previous console connection

I am using Windows 7 / Eclipse Juno / Git Extension 2.43
I have set up a VM Server with UbuntuS Server & Gitolite and added a repo.
Afterwards i cloned the repo with Git Extensions. Everything fine so far. I was also able to conect with Egit via Eclipse. Both using the ssh key.
But now i have the problem that after a restart Eclipse does not connect to the repo.
When i try with Git Extension everything works as it should. The curious thing is that after the successful connection with Git Extensions Eclipse is also able to connect.
After the next restart same problem.
Also to mention is that Eclipse never asks for the passphrase of the ssh key but Git Extensions does.
Maybe Git Extensions somehow caches the passphrase for the key?
I could always start Git Extension after every reboot but thats not really what i want to do.
Any idea?
Thx in advance!