I am unable to clone/push/pull with Stash:
$ git clone http://user@msp0ts07:7990/scm/test/test.git
Cloning into 'test'...
error: The requested URL returned error: 500 while accessing http://user@msp0ts07:7990/scm/test/test.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
However, if i remove the username from the URL it seems to work. However, stash presents the repository URL with the username in it, so it's misleading for our users.
I have JIRA+Stash installed on the same server with Stash using JIRA User Directory. I do not have JIRA integrated with IIS.
I can't seem to find anything other than in the stash-access.log, which doesn't tell me much:
10.107.70.107,10.251.109.19 | http | i748x820x1 | - | 2013-05-14 12:28:47,683 | "GET /mvc/error500 HTTP/1.0" | "" "git/1.8.1.msysgit.1" | - | - | - | 10.107.70.107,10.251.109.19 | http | o748x820x1 | - | 2013-05-14 12:28:47,683 | "GET /mvc/error500 HTTP/1.0" | "" "git/1.8.1.msysgit.1" | - | 0 | - |
It seems like this was a git configuration issue. I'm not exactly sure why, but I tried doing it from a different machine and everything works. A reinstall of git has solved the issue.
EDIT:
I mispoke, this did not work. I still suspect it's something with git configuration because not every user experiences this, and I also tried a fresh install on another machine and it worked.
I mispoke, this did not work. I still suspect it's something with git configuration because not every user experiences this, and I also tried a fresh install on another machine and it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems like this was a git configuration issue. I'm not exactly sure why, but I tried doing it from a different machine and everything works. A reinstall of git has solved the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Blake,
That's definitely not expected. There's nothing in the atlassian-stash.log file? You could try running with the following and see if it displays the 500 error:
export GIT_TRACE=1 export GIT_TRACE_PACKET=1 export GIT_CURL_VERBOSE=1
You could also try enabling debug logging and see if there is anything more interesting in the atlassian-stash.log file:
https://confluence.atlassian.com/display/STASH/Stash+debug+logging
Finaly I might recommend raising a support ticket with a support zip attached so we can investigate further.
https://support.atlassian.com/
The issue is almost certainly with your configuration or setup with the JIRA User Directory - something is throwing an exception when authenticating with the username but no password.
Cheers,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.