It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes

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

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
TAGS
Community showcase
Published in Teamwork

Listening out loud: how Dave Liao works on distributed teams

The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...

156 views 5 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you