Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

GIT Authentication issue on HP-UX

Kota Sreenivasa Shravana Kumar October 16, 2014

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
mmulligan03 July 11, 2017

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. 

0 votes
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 17, 2014

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. 

 

Kota Sreenivasa Shravana Kumar October 20, 2014

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

Kota Sreenivasa Shravana Kumar October 20, 2014

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

Kota Sreenivasa Shravana Kumar October 20, 2014

There seems like a GIT 2.1.2 available. Not sure, if this helps. http://hpux.connect.org.uk/hppd/hpux/Development/Tools/git-2.1.2/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events