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

URL Error 500 while cloning

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

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

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.

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.

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,080 views 4 22
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