Can not clone or push to Stash instance

Hello guys,

I am trying Stash (trial licence) and I have got problem with http access to created Git repositories. I am unable to clone or to push due to following error message:

error: The requested URL returned error: 502 while accessing http://...:7990/scm/JIP/test.git/info/refs

In addition, I can not find any information in logs. No files are changed in <stash-home>/log or <stash-installation>/logs after clone or push request.

I followed instructions at https://confluence.atlassian.com/display/STASH013/Installing+Stash+on+Windows and I hope didn't miss anything.

My configuration is

  • latest Stash in trial mode with internal database
  • Windows Server 2008 r2 standard
  • msysgit distribution in version 1.8 (installed in Program Files(x86)) - on server as well as on client
  • JDK 7u9 in path without spaces (32bit version)
  • <stash-home> is totally separated from <stash-installation> and path is very short (C:\Atlassian\stash-home)

Stash is up and running. I can create new Git repositories without problem. I think I did everything what I saw in installation instructions.

Thank you for any ideas

1 answer

1 accepted

This widget could not be displayed.

the 502 return code is usually returned by an HTTP server sitting between your git client and your Stash server. Could it be a http vs https issue?

You are right! I am sitting behind corporate Microsoft powered proxy sever and I am using Cntlm local proxy on my client to bypass ntlm authentication for software that doesn't support it. Cntlm was a reason of this issue even if ip range including my Stash server is configured to not using parent proxy (NoProxy list in cntlm.ini). Thank you for kicking my mind :-).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Teamwork

The tools we make for teams? We use them every day at Atlassian to get shit done (and it works).

I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...

38 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you