cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I'm experiencing some issues with the SAP Git repository. I'm using Gitforwindows (last version) and a standard account (not trial). My goal is to clone the repo on my computer (windows 10). I'm administrator of this Neo account.

While executing

git clone http://git.eu2.hana.ondemand.com/____

and I get an error "Authentication failed for 'https://git.eu2.hana.ondemand.com/___/___/' "

The same procedure IS successful with the neo Trial account.

Any suggestions is welcome!

Yann

0 Likes
View Entire Topic
yannmiquel
Participant
0 Likes

Hi ivan.mirisola ,

Thank you for your answer. I'm still stuck but it's nice to know about the app version.

  • The (windows) client is indeed asking for my credentials (via OpenSSH) before prompting the Authentication failed. I tried all kind of username (S-User, email, P-User, JDoe)
  • My credentials should be ok since I can use the repo from WebIDE.
  • The Application Identity Provider is the default SAP ID Service

Any additional suggestion ?

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert

Hi yannmiquel,

Do you have any output from the command line below:

cmdkey /list git:https://git.eu2.hana.ondemand.com

If so, your git client is using the Windows Credential Manager to cache credentials for that resource. Probably you have changed your password on SAP ID Service and Windows still has the old one cached.

Probably removing the stored credential should solve your issue:

cmdkey /delete git:https://git.eu2.hana.ondemand.com

If your git client isn't using the Windows Credential Manager (and I suspect it isn't due to the OpenSSH popup) I believe you have to figure out how your client works in that sense.

Some git clients will manage it internally and you can remove it by issuing the following command.

git config --global --unset credential.helper
git config --system --unset credential.helper

To use the Windows Credential Manager you could do this:

git config --global credential.helper manager

Some will store credentials on the user's home under a file named ".git-credentials" and removing the file should fix the issue.

I'm using git version 2.24.0.windows.2 that I've downloaded from https://git-scm.com/download/win

Best regards,
Ivan