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

2 votes

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Meg Holbrook
Posted yesterday in Off-topic

Miscellaneous Monday - Throwback Edition

It's Monday morning here is sunny California! (86 degrees in April, what is happening right now??) Time for another Miscellaneous Monday! I was having a random conversation with my nine-year-old thi...

2,536 views 35 2
Join discussion

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