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

URL Error 500 while cloning

Blake May 13, 2013

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 | - |

4 answers

0 votes
Blake May 15, 2013

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.

0 votes
Blake May 15, 2013

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.

0 votes
Blake May 14, 2013

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.

0 votes
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events