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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

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

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

101 views 0 1
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