GIT Authentication issue on HP-UX

I have successfully installed a GIT on HP-UX box (HP-UX hvapp-07 B.11.31 U ia64 4144478408 unlimited-user license) as per the instructions outlined here: http://hpux.connect.org.uk/hppd/hpux/Development/Tools/git-1.8.5.3/

My STASH version is : 2.6.2 and GIT version on the STASH Linux server is : 1.7.12.4

However, GIT cloning is throwing a authentication error.

# /usr/local/bin/git clone http://kokumar@atlgit-01.us.manh.com:7990/scm/u3si/dom-2010.git

Cloning into 'dom-2010'...

Password for 'http://kokumar@atlgit-01.us.manh.com:7990':

fatal: Authentication failed for 'http://kokumar@atlgit-01.us.manh.com:7990/scm/u3si/dom-2010.git/'

Any help would be highly appreciated. Thanks

2 answers

This widget could not be displayed.

If I understand correctly, git is prompting you for the password and after you enter the password it fails?

It's hard to say why it's failing, but here are some things to try to get a better idea of what's going on:

  • Determine whether it's a git issue or a Stash issue. Create an account on bitbucket.org, create a private repository and try to clone it over HTTP. 
  • Turn on debug logging in Stash (Admin > Logging and Profiling). Then try to login. The logs should include more information about the attempted authentication and why it failed. 

 

I get the same authentication error in bitbucket.org. I have tried using a different account and the error remains the same. So, I am thinking that this is something not related to my password or STASH. Probably related to GIT which I am using on my HP-UX box. What do you say ? Here is what I get from debug logs of STASH. 2014-10-21 05:26:38,137 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.i18n.PluginI18nService Cache miss for ResourceBundle reject-merge-commit-hook_en_US (com.carolynvs.reject-merge-commit-hook) 2014-10-21 05:26:38,137 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.i18n.PluginI18nService Cache miss for ResourceBundle reject-merge-commit-hook_ (com.carolynvs.reject-merge-commit-hook) 2014-10-21 05:26:38,137 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.i18n.PluginI18nService Cache miss for ResourceBundle reject-merge-commit-hook_en_US (com.carolynvs.reject-merge-commit-hook) 2014-10-21 05:26:38,138 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.i18n.PluginI18nService Cache miss for ResourceBundle reject-merge-commit-hook_ (com.carolynvs.reject-merge-commit-hook) 2014-10-21 05:26:38,143 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider Authentication for com.atlassian.stash.stash-authentication:crowdHttpAuthHandler failed - Bad credentials 2014-10-21 05:26:38,144 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.a.PluginHttpAuthenticationFailureHandler onAuthenticationFailure - delegating to com.atlassian.stash.rest.auth.RestAuthenticationFailureHandler 2014-10-21 05:26:38,144 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.a.PluginHttpAuthenticationFailureHandler onAuthenticationFailure - delegating to com.atlassian.stash.internal.auth.BridgingAuthenticationFailureHandler 2014-10-21 05:26:38,144 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.a.PluginHttpAuthenticationFailureHandler onAuthenticationFailure - delegating to com.atlassian.stash.internal.auth.ScmAuthenticationFailureHandler 2014-10-21 05:26:38,146 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.i18n.PluginI18nService Cache miss for ResourceBundle reject-merge-commit-hook_en_US (com.carolynvs.reject-merge-commit-hook) 2014-10-21 05:26:38,146 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.i18n.PluginI18nService Cache miss for ResourceBundle reject-merge-commit-hook_en_US (com.carolynvs.reject-merge-commit-hook) 2014-10-21 05:26:38,146 DEBUG [http-bio-7990-exec-4363] 326x410617x2 10.100.136.38 "GET /scm/u3si/dom-2010.git/info/refs HTTP/1.1" c.a.s.i.a.PluginHttpAuthenticationFailureHandler onAuthenticationFailure - com.atlassian.stash.internal.auth.ScmAuthenticationFailureHandler handled authentication failure

or it could be some configuration issue on the HP-UX box such as firewall, etc. Do you know any other site, where I can download a different version of GIT for HP-UX ? Thanks

This widget could not be displayed.

Not to revive an old thread but we are having this issue and it seems that it is not an atlassian issue but rather a HP-UX issue. Where you able to solve your problem?

From what I have determined when the GIT client on the HP box asks for a password it is only accepting the first 8 characters. If your user has a password of 8 characters or less the authentication works. Also (which i don't recommend) you can specify the password in the remote url like: http://USERNAME:PASSWORD@YOUR_BITHBUCKET_URL/scm/repo.git

Anyone that has had this issue that can help would be appreciated. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Teamwork

The tools we make for teams? We use them every day at Atlassian to get shit done (and it works).

I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...

34 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you