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

Can not clone or push to Stash instance

kbarborak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2012

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
Answer accepted
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 29, 2012

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?

kbarborak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 29, 2012

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
TAGS
AUG Leaders

Atlassian Community Events