Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Oomph Setup authentication error(Installation fail)
Oomph Setup authentication error [message #1752387] Mon, 23 January 2017 09:42 Go to next message
Max Schwund is currently offline Max SchwundFriend
Messages: 10
Registered: January 2017
Junior Member
Hey,

I am very new in Oomph and Eclipse... I tried for my company to configure a Oomph installation but i get every time this Problem:

Performing Git Clone  [https://(path of my project).git] (development)

Cloning Git repo  [https://(path of my project).git] to \Git-Repo\Projekt_Test

 org.eclipse.jgit.api.errors.TransportException: [https://(path of my project).git]: not authorized


Eclipse asks me 3 Times for my Username and Password then it throws this Exception. I guess its a Proxy or setup file problem but everthing else works fine.

The Git Projekt that i want to clone is running on Bitbucket if its necessary.

Any helps are welcome...

Greetings
Max
Re: Oomph Setup authentication error [message #1752455 is a reply to message #1752387] Tue, 24 January 2017 04:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
If you could switch to use SSH you'd likely be able to avoid this problem; I have authored project setups for private git repositories that worked well. If you're being prompted, it's EGit/JGit doing the prompting... I assume you're sure you've entered the correct credentials...

There was a problem with Neon where the Marketplace client messed up the JGit's authentication handlers. It's fixed in Neon.2. Are you seeing this problem with Neon.2? I assume so...

If you do the cloning manually, does that work? You might try to include the user ID in the clone URI and see if that helps.

If it works manually, you could install org.eclipse.oomph.preferences.feature.group. Then via the All Preferences you can inspect the secure preference store values and see what JGit is storing in terms of URIs and their associated credentials in the case where it's working properly. Via the advanced properties in the preferences editor, you can switch secure to false to even see the password values. You could author preference tasks that would pre-populate the secure preference values that JGit uses, prompting for that information during the installation process...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph Setup authentication error [message #1752473 is a reply to message #1752455] Tue, 24 January 2017 09:12 Go to previous messageGo to next message
Max Schwund is currently offline Max SchwundFriend
Messages: 10
Registered: January 2017
Junior Member
Hey thanks,

I want that it works with HTTP.
i tried everthing you have said. Marketplace and cloning with Git bash is working fine.

I had some trouble with your last solution . I was not able to edit the user-id and password.

Is it possible that eclipse does not give any data to the server to verify my credentials?
Re: Oomph Setup authentication error [message #1752483 is a reply to message #1752473] Tue, 24 January 2017 11:40 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
What exact URI do you use that works when you clone manually with EGit? The user ID and password you provide manually works? I ask, because you're using https, not just http; I'm sure http would work, but then likely you'd not be able to push.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph Setup authentication error [message #1752487 is a reply to message #1752483] Tue, 24 January 2017 12:17 Go to previous messageGo to next message
Max Schwund is currently offline Max SchwundFriend
Messages: 10
Registered: January 2017
Junior Member
Ok, when i use Http instead of Https i get this: "301 Moved Permanently" . No pop-up window anymore.

I used the URI and https because Bitbucket gave it to me when i hit the clone button.

Re: Oomph Setup authentication error [message #1752498 is a reply to message #1752487] Tue, 24 January 2017 14:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Each time I ask specific questions and each time their isn't an answer in your post. Can you use the EGit UI to clone this repository? I need a yes or a no answer. When you use it manually, what does the URI for the push and pull for the remote look like? I ask this specifically because all the Eclipse URIs that want non-anonymous HTTPS access include the user ID in the URI itself. I.e., https://${git.user.id|username}@git.eclipse.org/r/oomph/org.eclipse.oomph is the URI we use for HTTPS access. So I need to know if you are including the user ID in the URI. Probably not, and probably you need to do that.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph Setup authentication error [message #1752505 is a reply to message #1752498] Tue, 24 January 2017 14:47 Go to previous messageGo to next message
Max Schwund is currently offline Max SchwundFriend
Messages: 10
Registered: January 2017
Junior Member
Sorry i am new to this and don't get every Question...
When i use Egit, Eclipse ask me the same way ... 3 Times this Pop-Up window.

I use this URI : "https://mschwund@stash.Testrepo.de/Test/Oomph.git"

[Updated on: Tue, 24 January 2017 14:49]

Report message to a moderator

Re: Oomph Setup authentication error [message #1752552 is a reply to message #1752505] Wed, 25 January 2017 05:05 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
I think you're saying that even using EGit in the IDE you've not gotten it to work. I assume you're using the latest release of Neon where EGit's https authentication is working again. As I mentioned, a problem in Marketplace client caused authentication problems in the initial Neon.1 release, so a Neon.1a was produced.

You must find a way to get this working with EGit manually, because Oomph is just using EGit/JGit and if you can't get that to work manually, there is no hope to have it working automatically. If you have problems with getting it working manually, you could ask on the EGit forum about what might be going wrong.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph Setup authentication error [message #1752558 is a reply to message #1752552] Wed, 25 January 2017 07:14 Go to previous message
Max Schwund is currently offline Max SchwundFriend
Messages: 10
Registered: January 2017
Junior Member
I use Neon.2 , but i will ask in the EGit Forum ... Thanks for your help !

Previous Topic:Oomph keep on adding site in available update sites
Next Topic:Execution of bat file
Goto Forum:
  


Current Time: Sat Dec 14 14:38:58 GMT 2024

Powered by FUDForum. Page generated in 0.03966 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top